diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-01 12:25:05 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-01 12:25:05 +0800 |
| commit | 4f4f292f16855f1e8b4bb068085b02e3f56492e8 (patch) | |
| tree | 94ebce9abe750becf184193e6d08f0bfa791ea59 /zsh | |
| parent | df4597bc727254ef4402c633ac39641df4e014d4 (diff) | |
Update
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/zshrc | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -44,6 +44,7 @@ function precmd() { | |||
| 44 | RIGHT=$(NUM=$($SETTING_DIR/bin/git/check-repos.sh -n); (( $NUM != 0 )) && echo $NUM) | 44 | RIGHT=$(NUM=$($SETTING_DIR/bin/git/check-repos.sh -n); (( $NUM != 0 )) && echo $NUM) |
| 45 | PROMPT='%B%(?:%F{green}%m%f:%K{red}%F{black}%m%f%k)%f%F{cyan} %c%f%b ' | 45 | PROMPT='%B%(?:%F{green}%m%f:%K{red}%F{black}%m%f%k)%f%F{cyan} %c%f%b ' |
| 46 | RPROMPT="%B%K{red}%F{black}${RIGHT}%f%k%b" | 46 | RPROMPT="%B%K{red}%F{black}${RIGHT}%f%k%b" |
| 47 | [ -n "$PRE_POPULATE" ] && print -z "$PRE_POPULATE" | ||
| 47 | } | 48 | } |
| 48 | 49 | ||
| 49 | 50 | ||