From 9985d509e9ec86aab0dc813cc2ab371a75ae1293 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 14 May 2015 13:36:10 +0200 Subject: zsh: Add green prompt for nymeria --- zsh/prompt.zsh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'zsh') 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' -- cgit v1.2.3-70-g09d2