stt works for Sublime text 2 or 3
parent
5798f02479
commit
4030c4b18e
@ -1,111 +1,111 @@
|
|||||||
To try it out if you have just cloned it (to your home directory):
|
To try it out if you have just cloned it (to your home directory):
|
||||||
* @source ~/.oh-my-zsh/templates/zshrc.zsh-template@
|
* @source ~/.oh-my-zsh/templates/zshrc.zsh-template@
|
||||||
|
|
||||||
h1. Commands
|
h1. Commands
|
||||||
|
|
||||||
* @tab@ - Create a new tab in the current directory (OS X - req enabling access for assistive devices under sys prefs)
|
* @tab@ - Create a new tab in the current directory (OS X - req enabling access for assistive devices under sys prefs)
|
||||||
* @take@ - Create a new directory and change to it, will create intermediate directories as required.
|
* @take@ - Create a new directory and change to it, will create intermediate directories as required.
|
||||||
* @x@/@extract@ - Extract an archive (supported types: tar.{bz2,gz,xz,lzma}, bz2, rar, gz, tar, tbz2, tgz, zip, Z, 7z).
|
* @x@/@extract@ - Extract an archive (supported types: tar.{bz2,gz,xz,lzma}, bz2, rar, gz, tar, tbz2, tgz, zip, Z, 7z).
|
||||||
* @zsh_stats@ - Get a list of the top ten commands and how many times they have been run
|
* @zsh_stats@ - Get a list of the top ten commands and how many times they have been run
|
||||||
* @uninstall_oh_my_zsh@ - Uninstall Oh-my-zsh
|
* @uninstall_oh_my_zsh@ - Uninstall Oh-my-zsh
|
||||||
* @upgrade_oh_my_zsh@ - Upgrade Oh-my-zsh
|
* @upgrade_oh_my_zsh@ - Upgrade Oh-my-zsh
|
||||||
|
|
||||||
h2. See @~/.oh-my-zsh/lib/directories.zsh@
|
h2. See @~/.oh-my-zsh/lib/directories.zsh@
|
||||||
* @alias@ lists all aliases
|
* @alias@ lists all aliases
|
||||||
* @..@ aliases @cd ..@
|
* @..@ aliases @cd ..@
|
||||||
* @cd..@ aliases @cd ..@
|
* @cd..@ aliases @cd ..@
|
||||||
* @cd...@ aliases @cd ../..@
|
* @cd...@ aliases @cd ../..@
|
||||||
* @cd....@ aliases @cd ../../..@
|
* @cd....@ aliases @cd ../../..@
|
||||||
* @cd.....@ aliases @cd ../../../..@
|
* @cd.....@ aliases @cd ../../../..@
|
||||||
* @cd/@ aliases @cd /@
|
* @cd/@ aliases @cd /@
|
||||||
* @cd +n@ to switch to directory number @n@
|
* @cd +n@ to switch to directory number @n@
|
||||||
* @1@ aliases @cd -@
|
* @1@ aliases @cd -@
|
||||||
* @2@ aliases @cd +2@
|
* @2@ aliases @cd +2@
|
||||||
* @3@ aliases @cd +3@
|
* @3@ aliases @cd +3@
|
||||||
* @4@ aliases @cd +4@
|
* @4@ aliases @cd +4@
|
||||||
* @5@ aliases @cd +5@
|
* @5@ aliases @cd +5@
|
||||||
* @6@ aliases @cd +6@
|
* @6@ aliases @cd +6@
|
||||||
* @7@ aliases @cd +7@
|
* @7@ aliases @cd +7@
|
||||||
* @8@ aliases @cd +8@
|
* @8@ aliases @cd +8@
|
||||||
* @9@ aliases @cd +9@
|
* @9@ aliases @cd +9@
|
||||||
* @md@ aliases @mkdir -p@
|
* @md@ aliases @mkdir -p@
|
||||||
* @rd@ aliases @rmdir@
|
* @rd@ aliases @rmdir@
|
||||||
* @d@ aliases @dirs -v@, lists last used directories
|
* @d@ aliases @dirs -v@, lists last used directories
|
||||||
|
|
||||||
h1. Tab-completion
|
h1. Tab-completion
|
||||||
|
|
||||||
* @ls -(tab)@ - For options and helpful text of what they do
|
* @ls -(tab)@ - For options and helpful text of what they do
|
||||||
* @cap (tab)@
|
* @cap (tab)@
|
||||||
* @rake (tab)@
|
* @rake (tab)@
|
||||||
* @ssh (tab)@
|
* @ssh (tab)@
|
||||||
* @sudo umount (tab)@
|
* @sudo umount (tab)@
|
||||||
* @kill (tab)@
|
* @kill (tab)@
|
||||||
* @unrar (tab)@
|
* @unrar (tab)@
|
||||||
|
|
||||||
h1. Git
|
h1. Git
|
||||||
|
|
||||||
h2. Dynamic access to current branch name with the current_branch function
|
h2. Dynamic access to current branch name with the current_branch function
|
||||||
|
|
||||||
* @git pull origin $(current_branch)@
|
* @git pull origin $(current_branch)@
|
||||||
* @grb publish $(current_branch) origin@
|
* @grb publish $(current_branch) origin@
|
||||||
|
|
||||||
h2. Helpful aliases for common git tasks
|
h2. Helpful aliases for common git tasks
|
||||||
* @g@ - @git@
|
* @g@ - @git@
|
||||||
* @gst@ - @git status@
|
* @gst@ - @git status@
|
||||||
* @gl@ - @git pull@
|
* @gl@ - @git pull@
|
||||||
* @gup@ - @git pull --rebase@
|
* @gup@ - @git pull --rebase@
|
||||||
* @gp@ - @git push@
|
* @gp@ - @git push@
|
||||||
* @gd@ - @git diff@
|
* @gd@ - @git diff@
|
||||||
* @gdc@ - @git diff --cached@
|
* @gdc@ - @git diff --cached@
|
||||||
* @gdv@ - <code>git diff -w "$@" | view -</code>
|
* @gdv@ - <code>git diff -w "$@" | view -</code>
|
||||||
* @gc@ - @git commit -v@
|
* @gc@ - @git commit -v@
|
||||||
* @gc!@ - @git commit -v --amend@
|
* @gc!@ - @git commit -v --amend@
|
||||||
* @gca@ - @git commit -v -a@
|
* @gca@ - @git commit -v -a@
|
||||||
* @gca!@ - @git commit -v -a --amend@
|
* @gca!@ - @git commit -v -a --amend@
|
||||||
* @gcmsg@ - @git commit -m@
|
* @gcmsg@ - @git commit -m@
|
||||||
* @gco@ - @git checkout@
|
* @gco@ - @git checkout@
|
||||||
* @gcm@ - @git checkout master@
|
* @gcm@ - @git checkout master@
|
||||||
* @gr@ - @git remote@
|
* @gr@ - @git remote@
|
||||||
* @grv@ - @git remote -v@
|
* @grv@ - @git remote -v@
|
||||||
* @grmv@ - @git remote rename@
|
* @grmv@ - @git remote rename@
|
||||||
* @grrm@ - @git remote remove@
|
* @grrm@ - @git remote remove@
|
||||||
* @gsetr@ - @git remote set-url@
|
* @gsetr@ - @git remote set-url@
|
||||||
* @grup@ - @git remote update@
|
* @grup@ - @git remote update@
|
||||||
* @grbi@ - @git rebase -i@
|
* @grbi@ - @git rebase -i@
|
||||||
* @grbc@ - @git rebase --continue@
|
* @grbc@ - @git rebase --continue@
|
||||||
* @grba@ - @git rebase --abort@
|
* @grba@ - @git rebase --abort@
|
||||||
* @gb@ - @git branch@
|
* @gb@ - @git branch@
|
||||||
* @gba@ - @git branch -a@
|
* @gba@ - @git branch -a@
|
||||||
* @gcount@ - @git shortlog -sn@
|
* @gcount@ - @git shortlog -sn@
|
||||||
* @gcl@ - @git config --list@
|
* @gcl@ - @git config --list@
|
||||||
* @gcp@ - @git cherry-pick@
|
* @gcp@ - @git cherry-pick@
|
||||||
* @glg@ - @git log --stat --max-count=10@
|
* @glg@ - @git log --stat --max-count=10@
|
||||||
* @glgg@ - @git log --graph --max-count=10@
|
* @glgg@ - @git log --graph --max-count=10@
|
||||||
* @glgga@ - @git log --graph --decorate --all@
|
* @glgga@ - @git log --graph --decorate --all@
|
||||||
* @glo@ - @git log --oneline --decorate --color@
|
* @glo@ - @git log --oneline --decorate --color@
|
||||||
* @glog@ - @git log --oneline --decorate --color --graph@
|
* @glog@ - @git log --oneline --decorate --color --graph@
|
||||||
* @gss@ - @git status -s@
|
* @gss@ - @git status -s@
|
||||||
* @ga@ - @git add@
|
* @ga@ - @git add@
|
||||||
* @gm@ - @git merge@
|
* @gm@ - @git merge@
|
||||||
* @grh@ - @git reset HEAD@
|
* @grh@ - @git reset HEAD@
|
||||||
* @grhh@ - @git reset HEAD --hard@
|
* @grhh@ - @git reset HEAD --hard@
|
||||||
* @gclean@ - @git reset --hard && git clean -dfx@
|
* @gclean@ - @git reset --hard && git clean -dfx@
|
||||||
* @gwc@ - @git whatchanged -p --abbrev-commit --pretty=medium@
|
* @gwc@ - @git whatchanged -p --abbrev-commit --pretty=medium@
|
||||||
* @gsts@ - @git stash show --text@
|
* @gsts@ - @git stash show --text@
|
||||||
* @gsta@ - @git stash@
|
* @gsta@ - @git stash@
|
||||||
* @gstp@ - @git stash pop@
|
* @gstp@ - @git stash pop@
|
||||||
* @gstd@ - @git stash drop@
|
* @gstd@ - @git stash drop@
|
||||||
* @ggpull@ - @git pull origin $(current_branch)@
|
* @ggpull@ - @git pull origin $(current_branch)@
|
||||||
* @ggpur@ - @git pull --rebase origin $(current_branch)@
|
* @ggpur@ - @git pull --rebase origin $(current_branch)@
|
||||||
* @ggpush@ - @git push origin $(current_branch)@
|
* @ggpush@ - @git push origin $(current_branch)@
|
||||||
* @ggpnp@ - @git pull origin $(current_branch) && git push origin $(current_branch)@
|
* @ggpnp@ - @git pull origin $(current_branch) && git push origin $(current_branch)@
|
||||||
* @glp@ - @_git_log_prettily@
|
* @glp@ - @_git_log_prettily@
|
||||||
|
|
||||||
h2. Editors
|
h2. Editors
|
||||||
* @stt@ - @open current directory in Sublime Text 2@
|
* @stt@ - @open current directory in Sublime Text 2/3@
|
||||||
|
|
||||||
h2. Symfony2
|
h2. Symfony2
|
||||||
* @sf@ - @php app/console@
|
* @sf@ - @php app/console@
|
||||||
* @sfcl@ - @php app/console cache:clear@
|
* @sfcl@ - @php app/console cache:clear@
|
||||||
* @sfroute@ - @php app/console router:debug@
|
* @sfroute@ - @php app/console router:debug@
|
||||||
* @sfgb@ - @php app/console generate:bundle@
|
* @sfgb@ - @php app/console generate:bundle@
|
||||||
|
Loading…
Reference in New Issue
Block a user