From a8367b0df51036eedca4d0521e701bc164568226 Mon Sep 17 00:00:00 2001 From: Dale Campbell Date: Sat, 26 Dec 2009 00:41:37 -0600 Subject: [PATCH] adding quotes to tab() --- lib/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.zsh b/lib/functions.zsh index f95a598..74b93f0 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 }