diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-04 10:05:13 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-04 10:05:13 +0800 |
commit | b3e02e93106a04ec68c3566f850395f64e041f1b (patch) | |
tree | 0ee2d30a4a7be45120c874426c60e96181f1678b /zsh | |
parent | c15aad94935d3d775e9786fae35b2203748d3afd (diff) |
Update
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ function precmd() { | |||
53 | PROMPT='%B%(?:%F{green}%m%f:%K{red}%F{black}%m%f%k)%f%F{cyan} %c%f%b ' | 53 | PROMPT='%B%(?:%F{green}%m%f:%K{red}%F{black}%m%f%k)%f%F{cyan} %c%f%b ' |
54 | RIGHT=$(NUM=$($SETTING_DIR/bin/git/check-repos.sh -n); (( $NUM != 0 )) && echo $NUM) | 54 | RIGHT=$(NUM=$($SETTING_DIR/bin/git/check-repos.sh -n); (( $NUM != 0 )) && echo $NUM) |
55 | _get_context | 55 | _get_context |
56 | RPROMPT="%K{blue}%F{yellow}${CONTEXT}%f%k${RIGHT:+ }%B%K{red}%F{black}${RIGHT}%f%k%b" | 56 | RPROMPT="%B%K{blue}%F{yellow} ${CONTEXT} %f%k%K{red}%F{black}${RIGHT}%f%k%b" |
57 | [ -n "$PRE_POPULATE" ] && print -z "$PRE_POPULATE" | 57 | [ -n "$PRE_POPULATE" ] && print -z "$PRE_POPULATE" |
58 | } | 58 | } |
59 | 59 | ||