diff options
author | Roman Kamyk <roman.kamyk@gmail.com> | 2011-02-05 11:48:46 +0100 |
---|---|---|
committer | Roman Kamyk <roman.kamyk@gmail.com> | 2011-02-05 11:48:46 +0100 |
commit | 3e260a9ef63ed8e73650c72049002e6f9edd0dc9 (patch) | |
tree | ff50ccfcc118375e11b5537bf08c9b8ad8edfe53 /themes/kardan.zsh-theme | |
parent | 57e0b57434eb7f3b7d0fe0ca4849478477404e43 (diff) | |
parent | 01b0366f3e27cf30f3882870100f14625fc267d1 (diff) | |
download | zsh-3e260a9ef63ed8e73650c72049002e6f9edd0dc9.tar.gz zsh-3e260a9ef63ed8e73650c72049002e6f9edd0dc9.tar.bz2 zsh-3e260a9ef63ed8e73650c72049002e6f9edd0dc9.zip |
Merge branch 'master' of http://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'themes/kardan.zsh-theme')
-rw-r--r-- | themes/kardan.zsh-theme | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/themes/kardan.zsh-theme b/themes/kardan.zsh-theme new file mode 100644 index 000000000..fd6586a9d --- /dev/null +++ b/themes/kardan.zsh-theme @@ -0,0 +1,12 @@ +# Simple theme based on my old zsh settings. + +function get_host { + echo '@'`hostname`'' +} + +PROMPT='> ' +RPROMPT='%~$(git_prompt_info)$(get_host)' + +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_PREFIX="(" +ZSH_THEME_GIT_PROMPT_SUFFIX=")"
\ No newline at end of file |