Differences From Artifact [6716bdb3b6]:
- File
fish/functions/fld.fish
— part of check-in
[8f7cbebaa6]
at
2020-06-15 20:58:48
on branch trunk
— fish: Convert abbreviations to aliases
It's annoying to see fish expand the abbreviation while you type. (user: js, size: 96) [annotate] [blame] [check-ins using]
To Artifact [20c18b9bae]:
- File fish/functions/fld.fish — part of check-in [37f5866f0b] at 2020-08-18 21:16:48 on branch trunk — fld.fish: Fallback for when colordiff is missing (user: js, size: 361) [annotate] [blame] [check-ins using]
1 | function fld --wraps 'fossil diff' | > | > > > > > > | > | 1 2 3 4 5 6 7 8 9 10 11 | function fld --wraps 'fossil diff' if type -q colordiff2 command fossil diff -N $argv | colordiff | less -FRX else set -l red (tput setaf 1) set -l green (tput setaf 2) set -l reset (tput sgr0) fossil diff -N $argv | sed "s/^+.*\$/$green&$reset/" | sed "s/^-.*\$/$red&$reset/" | less -FRX end end |