From: Samir Benmendil Date: Mon, 3 Dec 2012 05:50:52 +0000 (+0100) Subject: add my own theme X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/532c67f83056642386a5847e6bd71a01d779e072?ds=sidebyside add my own theme --- diff --git a/zsh/custom/ramsi.zsh-theme b/zsh/custom/ramsi.zsh-theme new file mode 100644 index 0000000..857349f --- /dev/null +++ b/zsh/custom/ramsi.zsh-theme @@ -0,0 +1,4 @@ +[[ $(hostname) == "tardis" ]] && hostcolor=red +[[ $(hostname) == "shada" ]] && hostcolor=green +PROMPT="%(?..%{$fg_bold[white]%}[%?])%{$reset_color%}[%D{%k:%M} %n@%{$fg[$hostcolor]%}%m%{$reset_color%}]%# " +RPROMPT="%{$fg[green]%}%~%{$reset_color%}"