]> git.rmz.io Git - dotfiles.git/commitdiff
add my own theme
authorSamir Benmendil <ram-z@chakra-project.org>
Mon, 3 Dec 2012 05:50:52 +0000 (06:50 +0100)
committerSamir Benmendil <ram-z@chakra-project.org>
Mon, 3 Dec 2012 05:50:52 +0000 (06:50 +0100)
zsh/custom/ramsi.zsh-theme [new file with mode: 0644]

diff --git a/zsh/custom/ramsi.zsh-theme b/zsh/custom/ramsi.zsh-theme
new file mode 100644 (file)
index 0000000..857349f
--- /dev/null
@@ -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%}"