From 0846cd31338324903ef8862b47ebaaf3d268545e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 27 Nov 2015 09:22:56 +0300 Subject: [PATCH] .shellrc: only remove .sh_history, not any .*history* --- .shellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/"; } -- 2.39.2