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
54f19905
Commit
54f19905
authored
Dec 02, 2012
by
Viktor Gamov
Browse files
Update plugins/sublime/sublime.plugin.zsh
updated run sublime on linux with parameters
parent
8796fd01
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/sublime/sublime.plugin.zsh
View file @
54f19905
...
...
@@ -3,10 +3,11 @@
if
[[
$(
'uname'
)
==
'Linux'
]]
;
then
if
[
-f
'/usr/bin/sublime_text'
]
;
then
alias
st
=
'
/usr/bin/sublime_text
&'
st_run
()
{
nohup
/usr/bin/sublime_text
$@
>
/dev/null &
}
else
alias
st
=
'
/usr/bin/sublime-text
&'
st_run
()
{
nohup
/usr/bin/sublime-text
$@
>
/dev/null &
}
fi
alias
st
=
st_run
elif
[[
$(
'uname'
)
==
'Darwin'
]]
;
then
alias
st
=
'/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
fi
...
...
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