From: Nils Winkler Date: Tue, 10 Dec 2013 15:59:22 +0000 (+0100) Subject: Subtle change: Added a space in front of the command that's run in the X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=964850d6da50b2f776d28858a496581993224327;p=common%2Fbash_it.git Subtle change: Added a space in front of the command that's run in the new tab. If you use `export HISTIGNORE=' *'` in your shell, this will ensure that commands starting with a space will not be included in the history. Since the command sent to the new tab by the `tab` command probably shouldn't show up in the history, I added a leading space character. --- diff --git a/plugins/available/osx.plugin.bash b/plugins/available/osx.plugin.bash index fde9c83..5b605ce 100644 --- a/plugins/available/osx.plugin.bash +++ b/plugins/available/osx.plugin.bash @@ -11,7 +11,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 }