Browse Source

fix bug about whitespaces

pull/1/head
10sr 12 years ago
parent
commit
5ce9e2dc46
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bashrc

+ 2
- 2
bashrc View File

@@ -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(){


Loading…
Cancel
Save