From a1d02eba4911d4c8c6175c881f6e61f4f95deb07 Mon Sep 17 00:00:00 2001 From: Matthew Reschke Date: Thu, 23 Jul 2020 15:34:18 -0600 Subject: [PATCH] Remove HISTIGNORE so I can press up to see my last dir commands --- server/files/profile.d/bash_history.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/files/profile.d/bash_history.sh b/server/files/profile.d/bash_history.sh index 66bb4b5..d022b8f 100644 --- a/server/files/profile.d/bash_history.sh +++ b/server/files/profile.d/bash_history.sh @@ -8,7 +8,8 @@ export HISTFILESIZE= export HISTCONTROL=ignoreboth # Ignore commands -export HISTIGNORE="ls:dir:exit:sudo ls -Hhal" +# No, becuase then I can press up to run my last dir or ls command +#export HISTIGNORE="ls:dir:exit:sudo ls -Hhal" # Time only shows up in 'history' command, and uses comments in actual ~/.bash_history file # NO, default is fine...export HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S "