[ "`type -t mc`" = alias ] && unalias mc
back() { cd - "$@"; }
- clo() { clear; logout; }
functions() { typeset -f "$@"; }
j() { jobs; }
elif test -n "$KSH_VERSION" -o -n "$FCEDIT"; then
back() { cd - "$@"; }
- clo() { clear; exit; }
j() { jobs; }
-
-else
- clo() { clear; exit; }
fi
# clear history, clear screen and logout
-#chlo() { cd; unset HISTFILE; rm -f .sh_history; history -c; clo; }
#Pwd() { pwd | sed "s/.*\/\(.*\)\/\(.*\)\/\(.*\)\/\(.*\)/...\/\2\/\3\/\4/"; }
kill "$1" `pidOf "$2"`
fi
}
+#chlo() { cd; unset HISTFILE; rm -f .sh_history; history -c; clear; logout || exit; }
if test -x /usr/bin/git >/dev/null 2>&1; then