X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.shellrc;h=d2e56a6702f1a356de72a521bb17f2b94fa45323;hp=e6ae4205771cbd7de715a179cee54d4c6cb984a7;hb=f7160aa41c6421a68cda1c78b67d2de944705922;hpb=6d8fcbe56b488f473406ef26c0c7a3cc2a4f0ce1 diff --git a/.shellrc b/.shellrc index e6ae420..d2e56a6 100644 --- a/.shellrc +++ b/.shellrc @@ -122,6 +122,10 @@ x() { exit; } X() { startx >> .Xserver.log 2>&1; cyr; } +git() { + LESS=FRSX"$LESS" command git "$@" +} + include() { cfg="$1" @@ -137,9 +141,6 @@ include() } -function git { - LESS=FRSX"$LESS" command git "$@" -} mc() { @@ -209,7 +210,7 @@ mc() { } -function mkcd { +mkcd() { if [ $# -ne 1 ]; then echo "Usage: mkcd directory_name" >&2 elif [ -d "$1" ]; then