ErlShell
ErlShell copied to clipboard
by Neelkantham
Pretty Eshell
Pretty Eshell - A Renovate Erlang Shell with Colorfull Syntax Highlight.
Screenshots
Takes on Ubuntu with Default Terminal.
Dependencies
- Erlang OTP 20 (stdlib-3.4)
How to install
Clone:
$ git clone --recursive https://github.com/spawnfest/ErlShell.git
Automatically (you may need to run this command with sudo
and run erl shell with sudo
):
$ make install
Manually:
- Find out what version of the stdlib library you're using by using
application:which_applications()
in the Erlang shell. The version number is the last element of the tuple. - Compile the files (
erl -make
). - Take the
.beam
files inebin/$VSN/
and move them to$ROOT/lib/stdlib-$VSN/ebin/
for the OTP release of your choice. - Start the Erlang shell associated with this version of the Erlang/OTP.
- Enjoy Colourfull shell :)
How to revert-back
Manually :
- got to
$ROOT/lib/stdlib-$VSN/ebin/
and removeio_lib_pretty.beam
,lib.beam
,shell_profile.beam
andshell.beam
. - Backup file will be there with extension
.backup-pre-pretty-erlshell
. likeio_lib_pretty.beam.backup-pre-pretty-erlshell
,lib.beam.backup-pre-pretty-erlshell
and so on. - Remove Back file extension ie.
.backup-pre-pretty-erlshell
- restart Erlang Shell.
- done :)
Author
- Prakash Parmar ( [email protected] )
Thanks
Thanks to Fred Hebert for details explanation about erlang shell on his blog post
and last but not least A Big thanks to Erlang OTP team, SpawnFest 2017 Organizers, Judges, Sponsors and Gogole.