Differences From 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]
To Artifact [fe781ffd61]:
- File zshrc — part of check-in [34edc39a9a] at 2020-05-26 20:05:20 on branch trunk — zshrc: Check if --color is supported by ls & grep (user: js, size: 5756) [annotate] [blame] [check-ins using]
︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | + - + + + - + + | which "$1" &>/dev/null && echo "$1" || echo "$2" } if [ -n "$grep" -o -n "$grep_color" ]; then : ${grep:=$(__find_command ggrep grep)} [ -n "$grep_color" -a "$grep_color[1]" != - ] && grep_color="--color=$grep_color" if echo x | $grep $grep_color x &>/dev/null; then |
︙ |