mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 14:51:58 +00:00
4c409b0de9
Without this change, whether a function can invoke 'subl' depends on the order in which modules are loaded. With this change, the order doesn't matter. zsh resolves aliases at parse time not run time, which means if you invoke an alias from a function, the alias must be defined before the function. See http://stackoverflow.com/a/25532276/893113 which refers to an explanation of this limitation. For code which may be used non-interactively, the recommend workaround is to use functions instead of aliases. |
||
---|---|---|
.. | ||
README.md | ||
sublime.plugin.zsh |
sublime
Plugin for Sublime Text, a cross platform text and code editor, available for Linux, Mac OS X, and Windows.
Requirements
Usage
-
If
st
command is called without an argument, launch Sublime Text -
If
st
is passed a directory,cd
to it and open it in Sublime Text -
If
st
is passed a file, open it in Sublime Text -
if
stt
command is called, it is equivalent tost .
, opening the current folder in Sublime Text