From: Oleg Broytman Date: Fri, 27 Nov 2015 06:22:56 +0000 (+0300) Subject: .shellrc: only remove .sh_history, not any .*history* X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=0846cd31338324903ef8862b47ebaaf3d268545e .shellrc: only remove .sh_history, not any .*history* --- diff --git a/.shellrc b/.shellrc index a55d1be..0bf59ff 100644 --- a/.shellrc +++ b/.shellrc @@ -95,7 +95,7 @@ esac # clear history, clear screen and logout -#chlo() { cd; unset HISTFILE; rm -f .*history*; clo; } +#chlo() { cd; unset HISTFILE; rm -f .sh_history; clo; } #Pwd() { pwd | sed "s/.*\/\(.*\)\/\(.*\)\/\(.*\)\/\(.*\)/...\/\2\/\3\/\4/"; }