diff options
author | Robby Russell <robby@planetargon.com> | 2015-06-14 21:46:41 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-06-14 21:46:41 -0700 |
commit | 78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282 (patch) | |
tree | 6a2a6374797c0f303a293cd17547349a617c7404 /plugins/sublime/sublime.plugin.zsh | |
parent | 9eaf51107f15011f73b39fb727895f65797edcbc (diff) | |
parent | a7e79824f85a89cbcacbceab0277c9833dee4817 (diff) | |
download | zsh-78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282.tar.gz zsh-78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282.tar.bz2 zsh-78bbf7a6e52e7aabc82f22c43c9309a5f0ff1282.zip |
Merge pull request #3809 from ncanceill/easymerge
Easy-to-Merge
Diffstat (limited to 'plugins/sublime/sublime.plugin.zsh')
-rw-r--r-- | plugins/sublime/sublime.plugin.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sublime/sublime.plugin.zsh b/plugins/sublime/sublime.plugin.zsh index 38a7596fd..3e338e4d3 100644 --- a/plugins/sublime/sublime.plugin.zsh +++ b/plugins/sublime/sublime.plugin.zsh @@ -5,6 +5,7 @@ if [[ $('uname') == 'Linux' ]]; then _sublime_linux_paths=( "$HOME/bin/sublime_text" "/opt/sublime_text/sublime_text" + "/opt/sublime_text_3/sublime_text" "/usr/bin/sublime_text" "/usr/local/bin/sublime_text" "/usr/bin/subl" @@ -33,7 +34,7 @@ elif [[ "$OSTYPE" = darwin* ]]; then for _sublime_path in $_sublime_darwin_paths; do if [[ -a $_sublime_path ]]; then - alias subl="'$_sublime_path'" + subl () { "$_sublime_path" $* } alias st=subl break fi |