File fish/functions/cvsd.fish artifact d13ac32f48 part of check-in ca56d0a960
function cvsd --wraps 'cvs diff' if type -q colordiff command cvs diff -uN $argv | colordiff | less -FRX else set -l red (printf "\033[31m") set -l green (printf "\033[32m") set -l reset (printf "\033[0m") cvs diff -uN $argv | sed "s/^+.*\$/$green&$reset/" | sed "s/^-.*\$/$red&$reset/" | less -FRX end end