Browse code

adding quotes to tab()

Dale Campbell authored on 26/12/2009 at 06:41:37
Showing 1 changed files
... ...
@@ -44,7 +44,7 @@ function tab() {
44 44
     end
45 45
     tell application "Terminal"
46 46
       activate
47
-      do script with command "cd $PWD; $*" in window 1
47
+      do script with command "cd \"$PWD\"; $*" in window 1
48 48
     end tell
49 49
 EOF
50 50
 }