From d29d0f9bd93fd01f7d72f4ee0f27893cb1c6d187 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 16 Jun 2022 18:16:32 -0700 Subject: [PATCH] Enable Erlang shell history --- home/lib/login_variables.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.20.1