Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
b074886a
"vscode:/vscode.git/clone" did not exist on "a6de824f7e3352ba6507bca37dbf671a16a3ec93"
Commit
b074886a
authored
Jun 14, 2013
by
Christoph Jerolimov
Browse files
Do not clear tab when calling it with an argument.
parent
c73047e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/osx/osx.plugin.zsh
View file @
b074886a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment