diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-05-14 13:36:10 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-05-14 13:37:13 +0200 |
commit | 9985d509e9ec86aab0dc813cc2ab371a75ae1293 (patch) | |
tree | d606b493af0c80e774c85941d05b1edafeb7cf55 | |
parent | 94fbfaf805c58c56fa54740e7ba1ed010e932813 (diff) | |
download | dotfiles-9985d509e9ec86aab0dc813cc2ab371a75ae1293.tar.xz |
zsh: Add green prompt for nymeria
-rw-r--r-- | zsh/prompt.zsh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zsh/prompt.zsh b/zsh/prompt.zsh index 67e17b4..a124d54 100644 --- a/zsh/prompt.zsh +++ b/zsh/prompt.zsh @@ -1,3 +1,4 @@ +# Red bg[light_pink]='%K{001}' bg[light_red]='%K{196}' bg[red]='%K{88}' @@ -9,6 +10,7 @@ fg[red]='%F{88}' fg[dark_red]='%F{52}' +# Yellow bg[light_gold]='%K{136}' bg[gold]='%K{139}' bg[dark_gold]='%K{94}' @@ -18,12 +20,17 @@ fg[gold]='%F{139}' fg[dark_gold]='%F{94}' +# Blue bg[light_blue]='%K{blue}' bg[blue]='%K{21}' fg[light_blue]='%F{blue}' fg[blue]='%F{21}' + +# Green +bg[dark_green]='%K{64}' + function virtualenv_prompt { if [[ -n "$VIRTUAL_ENV" ]]; then print "$bg[light_blue]$fg[white] $(basename $VIRTUAL_ENV) %f%k" @@ -46,6 +53,11 @@ $bg[light_blue]%B ^_^ %b %k' $bg[light_blue]%B ^_^ %b %k' ;; + "nymeria") + PROMPT='$bg[dark_green] $fg[white]%m%f %k$bg[white]$fg[dark_gold] %~ %f%k$(virtualenv_prompt) +$bg[light_blue]%B ^_^ %b %k' + ;; + *) PROMPT='$bg[black] $fg[white]%m%f %k$bg[white]$fg[black] %~ %f%k$(virtualenv_prompt) $bg[light_blue]%B ^_^ %b %k' |