Update themes.md

This commit is contained in:
Yan Pritzker 2014-10-21 09:08:33 -05:00
parent f2fdd4506d
commit b8a90b09d1

View File

@ -10,12 +10,15 @@ touch ~/.zsh.prompts/prompt_mytheme_setup
See also the [Prezto](https://github.com/sorin-ionescu/prezto) project for more info on themes.
### Customizing ZSH & Picking a theme
### Customizing ZSH with ~/.zsh.after/ and ~/.zsh.before/
If you want to customize your zsh experience, yadr provides two hooks via `~/.zsh.after/` and `~/.zsh.before/` directories.
In these directories, you can place files to customize things that load before and after other zsh customizations that come from `~/.yadr/zsh/*`
For example, to override the theme, you can do something like this:
### Overriding the theme
To override the theme, you can do something like this:
```
echo "prompt yourprompt" > ~/.zsh.after/prompt.zsh