forked from ohmyzsh/ohmyzsh
-
Notifications
You must be signed in to change notification settings - Fork 0
Cheatsheet
iamjarvo edited this page Jul 22, 2012
·
20 revisions
To try it out if you have just cloned it (to your home directory):
source ~/.oh-my-zsh/templates/zshrc.zsh-template
-
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. -
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 -
uninstall_oh_my_zsh– Uninstall Oh-my-zsh -
upgrade_oh_my_zsh– Upgrade Oh-my-zsh
-
aliaslists all aliases -
..aliasescd .. -
cd..aliasescd .. -
cd...aliasescd ../.. -
cd....aliasescd ../../.. -
cd.....aliasescd ../../../.. -
cd/aliasescd / -
cd +nto switch to directory numbern -
1aliasescd - -
2aliasescd +2 -
3aliasescd +3 -
4aliasescd +4 -
5aliasescd +5 -
6aliasescd +6 -
7aliasescd +7 -
8aliasescd +8 -
9aliasescd +9 -
mdaliasesmkdir -p -
rdaliasesrmdir -
daliasesdirs -v, lists last used directories -
mcd directorycreates and changes into directorydirectory
-
ls -(tab)– For options and helpful text of what they do cap (tab)rake (tab)ssh (tab)sudo umount (tab)kill (tab)unrar (tab)
git pull origin $(current_branch)grb publish $(current_branch) origin
-
g–git -
gst–git status -
gl–git pull -
gup–git fetch && git rebase -
gp–git push -
gd–git diff | mate -
gdv–git diff -w "$@" | vim - -
gc–git commit -v -
gca–git commit -v -a -
gco–git checkout -
gb–git branch -
gba–git branch -a
-
stt–open current directory in Sublime Text 2