diff options
-rw-r--r-- | zsh/zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -55,9 +55,9 @@ function precmd() { | |||
55 | if [ "$jobstring" = 0 ]; then | 55 | if [ "$jobstring" = 0 ]; then |
56 | unset jobstring | 56 | unset jobstring |
57 | else | 57 | else |
58 | jobstring="%K{white}%F{black}$jobstring%f%k " | 58 | jobstring="($jobstring)" |
59 | fi | 59 | fi |
60 | PROMPT="${jobstring}%B%(?:%F{green}%m%f:%K{red}%F{black}%m%f%k)%f%F{cyan} %c%f%b " | 60 | PROMPT="%B%(?:%F{green}%m%f:%K{red}%F{black}%m%f%k)%f%F{cyan} %c%f%b${jobstring} " |
61 | 61 | ||
62 | # Show context and git status of tracking repos at right | 62 | # Show context and git status of tracking repos at right |
63 | RIGHT=$(NUM=$($SETTING_DIR/bin/git/check-repos.sh -n); (( $NUM != 0 )) && echo $NUM) | 63 | RIGHT=$(NUM=$($SETTING_DIR/bin/git/check-repos.sh -n); (( $NUM != 0 )) && echo $NUM) |