diff options
author | Robby Russell <robby@planetargon.com> | 2013-06-21 07:07:07 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-06-21 07:07:07 -0700 |
commit | 32b4755b8ab8c104affbfb237d7b425dbd88b90e (patch) | |
tree | 257059d192d0c4cf79a2f70cd388e5ce2007607a | |
parent | 46d4606e66c8060d281f181db8e8fdae4c264290 (diff) | |
parent | b074886ae66ed73957858608b21401767e3c66c0 (diff) | |
download | zsh-32b4755b8ab8c104affbfb237d7b425dbd88b90e.tar.gz zsh-32b4755b8ab8c104affbfb237d7b425dbd88b90e.tar.bz2 zsh-32b4755b8ab8c104affbfb237d7b425dbd88b90e.zip |
Merge pull request #1889 from jerolimov/patch-1
osx-plugin: Do not clear new tab when calling it with an argument.
-rw-r--r-- | plugins/osx/osx.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index 51cd7c143..dd785f911 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -6,7 +6,7 @@ # ------------------------------------------------------------------------------ function tab() { - local command="cd \\\"$PWD\\\"" + local command="cd \\\"$PWD\\\"; clear; " (( $# > 0 )) && command="${command}; $*" the_app=$( @@ -34,7 +34,7 @@ EOF launch session "Default Session" set current_session to current session tell current_session - write text "${command}; clear;" + write text "${command}" end tell end tell end tell |