Quick reference
The commands and directory aliases Oh My Zsh puts at your fingertips. Documentation for each plugin lives in that plugin's README.
Oh My Zsh's command-line interface is omz — run omz --help for everything it can do.
Update Oh My Zsh to the latest version.
Apply changes made to .zshrc — this just runs exec zsh.
List every available CLI command.
Remove Oh My Zsh entirely.
| Command | Description |
|---|---|
alias | List all aliases |
mkcd | Create a new directory and change to it — creates intermediate directories as required. |
take | Like mkcd, but also knows how to handle remote URLs. Given an argument that looks like a URL (ending in .git or .tar.(gz|bz2|xz)), it downloads the remote resource, extracts it if necessary into the current directory, then changes to the newly extracted / downloaded / cloned directory. |
zsh_stats | Get a list of the top 20 commands and how many times they have been run. |
Every alias, and the command it expands to.
mdmkdir -prdrmdir~cd (home directory)..cd .....cd ../......cd ../../.......cd ../../../../cd /ddirs -v (last visited dirs)cd +nswitch to directory number n-cd to last visited directory1cd -12cd -23cd -34cd -45cd -56cd -67cd -78cd -89cd -9This wiki is automatically published from ohmyzsh/wiki — to edit this page, make your changes there and submit a Pull Request. This section shows the main Oh My Zsh tricks; per-plugin documentation lives in each plugin's README.