🙃 A delightful community-driven (with 2,400+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool that makes it easy to keep up with the latest updates from the community.
Find a file
2012-04-12 18:01:10 +10:00
lib If no theme if defined, don't log a message, still works if the theme is supplied but doesn't exist. 2012-04-12 15:55:42 +10:00
plugins Updated tmux plugin so it can be ran from outside of zsh, useful for binds as I've got with my XMoand configs. 2012-04-12 18:01:10 +10:00
templates Improved the logging library so you are informed of any errors, and moved the archblue theme to default.zsh-theme. 2012-02-12 18:47:24 +11:00
themes Improved the logging library so you are informed of any errors, and moved the archblue theme to default.zsh-theme. 2012-02-12 18:47:24 +11:00
.gitignore Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh into taskwarrior-plugin 2011-05-29 18:51:32 -04:00
LICENSE added license 2011-12-31 18:32:51 +11:00
NOTICE added a notice about some plugins may be removed for standalone scripts 2012-01-16 15:17:47 +11:00
omz Updated more omz, just a few tweaks and now omz plugin ... works as expected. 2012-04-12 17:17:51 +10:00
README.md updated docs for the themeing as it uses .zsh-theme not .theme 2012-02-12 11:56:48 +11:00

"OH MY ZSHELL!"

NOTE: This documentation isn't finished and this project is currently under rapid development. Be cautious, information here may not be up to date.

NOTE: This fork is specifically for Archlinux and has been patched for a system-wide install; Don't attempt to install to ~/.oh-my-zsh! This project had radically diverged away from its source. While plugins should remain compatible, there is much which has changed.

Setup

oh-my-zsh should work with any recent release of zsh, the minimum recommended version is 4.3.9. A package can be found in Archlinux's AUR. We recommend using cower to install it:

$ cower -dd oh-my-zsh-git

First set zsh as your shell.

$ chsh -s /bin/zsh

Then the following needs to be added to ~/.zshrc file to activate oh-my-zshell goodness.

autoload omz
zstyle :omz:style theme arch-blue
plugins=(archlinux sprunge git)
omz init

A skeleton template can be found at /usr/share/oh-my-zsh/templates/user.zsh-template

Here's some example configs:

Customization

  • To enable more the plugins, customize the plugins array in your ~/.zshrc
  • To change themes, change the :omz:style zstyle in ~/.zshrc.
  • To use sub-plugins simply add plugin/sub-plugin; example, archlinux/cower

If you want to override any of the default behaviour, just add a new file (ending in .zsh) into the ~/.omz/ directory. If you have many functions which go good together you can put them as a *.plugin.zsh file in the ~/.omz/plugins/ directory.

If you would like to override the functionality of a plugin distributed with oh-my-zsh, create a plugin of the same name in the ~/.omz/plugins/ directory and it will be loaded instead of the one provided one.

Themes

To use your custom theme, cp/mv the theme to ~/.omz/themes/mytheme.zsh-theme then update your .zshrc file so it knows to use the theme with zstyle :omz:style theme mytheme

Resources

The refcard is pretty tasty for tips.