1. installation and configuration
Setup
Oh-my-zshshocould work with any recent release of zsh. The minimum recommended version is4.3.9.
If not already installed, you can install zsh using the command-line.
The automatic installer... Do you trust me?
You can install this via the command-line with eithercurlorwget.
Viacurl:
Curl-l http://install.ohmyz.sh | sh
Viawget:
Wget -- no-check-certificate http://install.ohmyz.sh-o-| sh
Optionally, Change the install directory:
The default location is ~ /. Oh-my-zsh (hidden in your home directory ).
You can change the install directory with thezshenvironment variable, either by runningexport zsh =/Your/pathbefore installing, or by setting it before the end of the install pipeline like this:
Curl-l https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | zsh = ~ /. Dotfiles/zsh sh
The manual way
1. Clone the Repository:
Git clone git: // github.com/robbyrussell/oh-my-zsh.git ~ /. Oh-my-zsh
2.Optionally, Backup your existing ~ /. Zshrcfile:
CP ~ /. Zshrc ~ /. Zshrc. orig
3. Create a New zsh config file by copying the zsh template we 've provided:
CP ~ /. Oh-my-zsh/templates/zshrc. zsh-template ~ /. Zshrc
4. Set zsh as your default shell:
CHSH-S/bin/zsh
5. Start or restart zsh by opening a new command-line window.
Problems?
YouMightNeed to modify yourpathin ~ /. Zshrcif you're not able to find some commands after switching tooh-my-zsh.
If you installed manually or changed the install location, check thezshenvironment variable in ~ /. Zshrc.
Usage
- Enable the Plugins you want in your ~ /. Zshrc (Take A Look At theplugins/directory and the wiki to see what's available)
- Example: plugins = (git osx Ruby)
- Theme support: Change thezsh_themeenvironment variable in ~ /. Zshrc
- Take a look at thethemes/directory and the wiki to see what comes bundled withoh-my-zsh
- & Much, much more... Take a look at thelib/directory to see whatoh-my-zshhas to offer...
Useful
The refcard is pretty useful for tips.
Customization
If you want to override any of the default behaviors, just add a new file (ending in. zsh) in thecustom/directory.
If you have functions that go well together, you can put them as a *. plugin. zshfile in thecustom/plugins/directory and then enable this plugin (see 'usage' above ).
If you wowould like to override the functionality of a plugin distributed withoh-my-zsh, create a plugin of the same name in thecustom/plugins/directory and it will be loaded instead of the one inplugins /.
Updates
By default you will be prompted to check for upgrades. If you wowould likeoh-my-zshto automatically upgrade itself without prompting you, set the following in your ~ /. Zshrc:
Disable_update_prompt = true
To disable upgrades entirely, set the following in your ~ /. Zshrc:
Disable_auto_update = true
To upgrade directly from the command-line, just runupgrade_oh_my_zsh.
Uninstalling
If you want to uninstalloh-my-zsh, just rununinstall_oh_my_zshfrom the command-line and it'll remove itself and revert you tobash (or your previous zsh configuration ).
2. My plugins:
AWS bunlder docker gem git GitHub Heroku node NPM Postgres Python rails4 rake redis-cli Ruby rvm sublime vagrant virtualenvwrapper
Oh-my-zsh installation and configuration