From: Siraaj Khandkar Date: Fri, 17 Jun 2022 01:16:32 +0000 (-0700) Subject: Enable Erlang shell history X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=d29d0f9bd93fd01f7d72f4ee0f27893cb1c6d187;p=khome.git Enable Erlang shell history --- diff --git a/home/lib/login_variables.sh b/home/lib/login_variables.sh index 9abb8af..95df0a5 100644 --- a/home/lib/login_variables.sh +++ b/home/lib/login_variables.sh @@ -29,6 +29,12 @@ export FILE_WALLPAPER_FAVS="$HOME/wallpaper_favs.txt" #export DOTNET_ROOT="$DOTNET_ROOT_dirname" export PATH=$PATH:$HOME/.dotnet/tools +# Erlang +ERL_AFLAGS="+pc unicode" +ERL_AFLAGS="$ERL_AFLAGS -kernel shell_history enabled" +ERL_AFLAGS="$ERL_AFLAGS -kernel shell_history_path '\"$HOME/.erl_history\"'" +export ERL_AFLAGS + # Rust / cargo export PATH=$PATH:$HOME/.cargo/bin