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 2ec9f90dd316fc1c35e140fb95a2901110949012
parent 48a440edb93d19b4eb89ca1c11f071447bc55ea5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sat,  9 Mar 2019 11:19:06 +0100

Disable bold prompt symbol and pwd

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

diff --git a/links/.zshrc b/links/.zshrc @@ -162,7 +162,7 @@ function prompt_with_vimode { 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]%}#.%B$%b)' + echo -n '%(!.%{$fg_bold[red]%}#.$)' echo -n '%{$reset_color%} ' } @@ -173,7 +173,7 @@ rprompt() { echo -n "%(?..%{$fg[red]%}[%?]%{$reset_color%})" # return status echo -n "${EXECTIME} " # runtime of prev cmd echo -n "%{$fg[cyan]%}$(git_branch)%{$reset_color%}" # git branch - echo -n "%B%~" # pwd + echo -n "%~" # pwd [ "$USER" != "ad" ] && echo -n "%n@" #username [ "$HOST" != "idkfa" ] && echo -n "%m" #hostname }