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
Oh My Zsh
Commits
6fbe5942
Commit
6fbe5942
authored
Nov 25, 2012
by
Robby Russell
Browse files
Merge pull request #1391 from logicmd/master
sublime text not found in Ubuntu
parents
03c27122
19aefa2b
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/sublime/sublime.plugin.zsh
View file @
6fbe5942
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
#unamestr = 'uname'
#unamestr = 'uname'
if
[[
$(
'uname'
)
==
'Linux'
]]
;
then
if
[[
$(
'uname'
)
==
'Linux'
]]
;
then
if
[
-f
'/usr/bin/sublime_text'
]
;
then
alias
st
=
'/usr/bin/sublime_text&'
alias
st
=
'/usr/bin/sublime_text&'
else
alias
st
=
'/usr/bin/sublime-text&'
fi
elif
[[
$(
'uname'
)
==
'Darwin'
]]
;
then
elif
[[
$(
'uname'
)
==
'Darwin'
]]
;
then
alias
st
=
'/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
alias
st
=
'/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
fi
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