Browse Source

Wrap cd of pwdfile in quotes

Thomas Dy 9 years ago
parent
commit
d263faf99d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .zsh/pwdfile.zsh

+ 1 - 1
.zsh/pwdfile.zsh

@@ -13,6 +13,6 @@ if [[ -x $(which xdotool 2> /dev/null) ]] && [[ -n "$DISPLAY" ]] then
   if [[ $ACTIVEWIN -le 1 ]]; then
       chpwd
   else
-      cd $(cat $PWDFILE)
+      cd "$(cat $PWDFILE)"
   fi
 fi