summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/functions.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/functions.zsh b/lib/functions.zsh
index f95a59827..74b93f00e 100644
--- a/lib/functions.zsh
+++ b/lib/functions.zsh
@@ -44,7 +44,7 @@ function tab() {
end
tell application "Terminal"
activate
- do script with command "cd $PWD; $*" in window 1
+ do script with command "cd \"$PWD\"; $*" in window 1
end tell
EOF
}