Commit 32b4755b authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #1889 from jerolimov/patch-1

osx-plugin: Do not clear new tab when calling it with an argument.
parents 46d4606e b074886a
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
function tab() { function tab() {
local command="cd \\\"$PWD\\\"" local command="cd \\\"$PWD\\\"; clear; "
(( $# > 0 )) && command="${command}; $*" (( $# > 0 )) && command="${command}; $*"
the_app=$( the_app=$(
...@@ -34,7 +34,7 @@ EOF ...@@ -34,7 +34,7 @@ EOF
launch session "Default Session" launch session "Default Session"
set current_session to current session set current_session to current session
tell current_session tell current_session
write text "${command}; clear;" write text "${command}"
end tell end tell
end tell end tell
end tell end tell
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment