My zsh configuration
git clone https://mcol.xyz/code/zshrc
Log | Files | Refs | Submodules | README

commit 1a20497a4049b514d48521055ee60ca7b4d4bd63
parent 5c16d5e63a5dff1629b651615bc3b8ecb258deaa
Author: mcol <mcol@posteo.net>
Date:   Tue, 28 Jul 2020 20:10:31 +0100

update prompt

Diffstat:
Mthemes/ban.zsh-theme | 13+------------
1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/themes/ban.zsh-theme b/themes/ban.zsh-theme @@ -1,4 +1,3 @@ -# vim:ft=zsh # # ban zsh theme # @@ -100,7 +99,7 @@ prompt_context() { prompt_dir() { - prompt_segment magenta 4 ' %4~ ' + prompt_segment magenta 12 ' %4~ ' #dir=$(print -Pn '%3~/') #[[ "${(q)dir:0:2}" == '\~/' ]] && dir="%F{12}🏠%F{black}${dir:1}" #echo -n " $dir " @@ -126,16 +125,6 @@ prompt_virtualenv() { } -#prompt_status() { -# local symbols -# symbols=() -# [[ $RETVAL -ne 0 ]] && symbols+="%{%F{red}%}x" -# [[ $UID -eq 0 ]] && symbols+="%{%F{yellow}%}⚡" -# [[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="%{%F{cyan}%}⚙" -# [[ -n "$symbols" ]] && prompt_segment black default "$symbols" -#} - - if $IS_SSH then tmux_following_colour=green