Differences From Artifact [2911be76ff]:
- File zshrc — part of check-in [4ca56c47e1] at 2020-05-24 17:30:58 on branch trunk — Add flc as alias for "fossil changes --differ" (user: js, size: 5835) [annotate] [blame] [check-ins using]
To Artifact [4cbda25673]:
- File
zshrc
— part of check-in
[aed8907a52]
at
2020-05-24 20:51:51
on branch trunk
— Add Fossil branch to fish prompt
Also prefer Git over Fossil branch instead of showing both in zsh. (user: js, size: 5659) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
95 96 97 98 99 100 101 | } fi set_prompt __precmd() { __update_terminal_cwd | | | < < < < | < < | | | 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | } fi set_prompt __precmd() { __update_terminal_cwd local branch=$(git symbolic-ref HEAD 2>/dev/null) branch=${branch##refs/heads/} if [ -z "$branch" ]; then branch=$(fossil branch current 2>/dev/null) fi set_prompt $branch } case $TERM in aterm|Eterm|rxvt*|uxterm*|xterm*) |
︙ | ︙ |