]> git.phdru.name Git - dotfiles.git/blobdiff - .shellrc
.shellrc: only remove .sh_history, not any .*history*
[dotfiles.git] / .shellrc
index e6ae4205771cbd7de715a179cee54d4c6cb984a7..0bf59ff5e99ff8aa2d56a5d3bbdd12f9758b3099 100644 (file)
--- 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