Enable Erlang shell history
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 17 Jun 2022 01:16:32 +0000 (18:16 -0700)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 17 Jun 2022 01:16:32 +0000 (18:16 -0700)
home/lib/login_variables.sh

index 9abb8af..95df0a5 100644 (file)
@@ -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
 
This page took 0.025341 seconds and 4 git commands to generate.