dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit b8264fb5273e291482d30679e1ac28278e61f12c
parent 5b4d63ffafdde99c8c973c65d0df45437e6588fd
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri,  8 Mar 2019 12:53:44 +0100

Remove unneeded color defs

Diffstat:
Mlinks/.zshrc | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/links/.zshrc b/links/.zshrc @@ -159,21 +159,21 @@ git_modified() { function prompt_with_vimode { #echo -e "\a" echo - echo -n '%(1j.%{$fg[white]%}%jbg %{$reset_color%}.)' # background jobs + echo -n '%(1j.%jbg .)' # background jobs echo -n "$1" [ -z "$1" ] && # show prompt symbol if no insert/normal mode is passed - echo -n '%(!.%{$fg_bold[red]%}#.%{$fg[black]%}$)%{$reset_color%}' + echo -n '%(!.%{$fg_bold[red]%}#.%B$%b)' echo -n '%{$reset_color%} ' } insert_mode='' -normal_mode='%{$fg_bold[black]%}N' # normal mode indicator +normal_mode='N' # normal mode indicator rprompt() { echo -n "%(?..%{$fg[red]%}[%?]%{$reset_color%})" # return status - echo -n "%{$fg[white]%}${EXECTIME}%{$reset_color%} " # runtime of prev cmd + echo -n "${EXECTIME} " # runtime of prev cmd echo -n "%{$fg[cyan]%}$(git_branch)%{$reset_color%}" # git branch - echo -n "%B%{$fg[black]%}%~%{$reset_color%}" # pwd + echo -n "%B%~" # pwd [ "$USER" != "ad" ] && echo -n "%n@" #username [ "$HOST" != "idkfa" ] && echo -n "%m" #hostname }