From b8a90b09d16228dbcb6f2cc7d404da21011d0792 Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Tue, 21 Oct 2014 09:08:33 -0500 Subject: [PATCH] Update themes.md --- doc/zsh/themes.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/zsh/themes.md b/doc/zsh/themes.md index aeafb43..8efc62c 100644 --- a/doc/zsh/themes.md +++ b/doc/zsh/themes.md @@ -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