A clean and elegant theme for Oh My Zsh.
- The current git branch color is now light green for better readability.
- The elapsed time shown after the command finished is displayed in a human-readable format.
You can install the theme by downloading the theme file directly into your Oh My Zsh custom themes directory.
Using curl:
curl -o ~/.oh-my-zsh/custom/themes/redefined.zsh-theme https://raw.githubusercontent.com/dodbrian/omz-theme-redefined/main/redefined.zsh-themeOr using wget:
wget -O ~/.oh-my-zsh/custom/themes/redefined.zsh-theme https://raw.githubusercontent.com/dodbrian/omz-theme-redefined/main/redefined.zsh-themeIf you want to keep the repository for development or easy updates, you can clone it and symlink the theme file.
-
Clone this repository into your Oh My Zsh custom themes directory:
git clone https://github.com/dodbrian/omz-theme-redefined.git ~/.oh-my-zsh/custom/themes/omz-theme-redefined -
Symlink the theme file to your Oh My Zsh custom themes directory:
ln -s ~/.oh-my-zsh/custom/themes/omz-theme-redefined/redefined.zsh-theme ~/.oh-my-zsh/custom/themes/redefined.zsh-theme
-
Set the theme:
omz theme set redefined -
Reload the shell:
omz reload
-
Set
ZSH_THEME="redefined"in your~/.zshrcfile. -
Reload your shell:
source ~/.zshrc
This theme is based on the refined theme from Oh My Zsh, which was adapted by mcornella. The refined theme itself was a port of the pure theme, originally created by sindresorhus.
