X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.shellrc;h=0bf59ff5e99ff8aa2d56a5d3bbdd12f9758b3099;hb=0846cd31338324903ef8862b47ebaaf3d268545e;hp=e6ae4205771cbd7de715a179cee54d4c6cb984a7;hpb=6d8fcbe56b488f473406ef26c0c7a3cc2a4f0ce1;p=dotfiles.git diff --git a/.shellrc b/.shellrc index e6ae420..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/"; } @@ -137,11 +137,6 @@ include() } -function git { - LESS=FRSX"$LESS" command git "$@" -} - - mc() { if [ -n "$SLOWTERM" ]; then MC_SLOW="--slow" @@ -209,7 +204,7 @@ mc() { } -function mkcd { +mkcd() { if [ $# -ne 1 ]; then echo "Usage: mkcd directory_name" >&2 elif [ -d "$1" ]; then