mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Create an alias to open up sublime project (#5258)
* Adding an alias to open up the sublime project * README update for stp command
This commit is contained in:
parent
95371afdd8
commit
073ea01cce
2 changed files with 33 additions and 2 deletions
|
|
@ -15,5 +15,7 @@ Plugin for Sublime Text, a cross platform text and code editor, available for Li
|
|||
* If `st` is passed a file, open it in Sublime Text
|
||||
|
||||
* If `stt` command is called, it is equivalent to `st .`, opening the current folder in Sublime Text
|
||||
|
||||
* If `sst` command is called, it is like `sudo st`, opening the file or folder in Sublime Text. Useful for editing system protected files.
|
||||
|
||||
* If `sst` command is called, it is like `sudo st`, opening the file or folder in Sublime Text. Useful for editing system protected files.
|
||||
|
||||
* If `stp` command is called, it find a `.sublime-project` file by traversing up the directory structure. If there is no `.sublime-project` file, but if the current folder is a Git repo, opens up the root directory of the repo. If the current folder is not a Git repo, then opens up the current directory.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue