|
@@ -311,7 +311,7 @@ cd(){ |
|
|
if test $# -eq 0 |
|
|
if test $# -eq 0 |
|
|
then |
|
|
then |
|
|
pushd ~/ >/dev/null |
|
|
pushd ~/ >/dev/null |
|
|
elif test $1 = - |
|
|
|
|
|
|
|
|
elif test "$1" = - |
|
|
then |
|
|
then |
|
|
local pwd="$PWD" |
|
|
local pwd="$PWD" |
|
|
command cd "$OLDPWD" |
|
|
command cd "$OLDPWD" |
|
@@ -799,7 +799,7 @@ __my_set_title(){ |
|
|
esac |
|
|
esac |
|
|
} |
|
|
} |
|
|
PROMPT_COMMAND="__my_set_title \${USER}@\${HOSTNAME}\:\${PWD}; |
|
|
PROMPT_COMMAND="__my_set_title \${USER}@\${HOSTNAME}\:\${PWD}; |
|
|
__my_set_screen_title \"\$(basename \$PWD)/\"" |
|
|
|
|
|
|
|
|
__my_set_screen_title \$(basename \"\$PWD\")/" |
|
|
|
|
|
|
|
|
# copied from https://wiki.archlinux.org/index.php/X_resources |
|
|
# copied from https://wiki.archlinux.org/index.php/X_resources |
|
|
invader(){ |
|
|
invader(){ |
|
|