Overview
Comment: | Don't rely on tput |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b119513a53d8ec93ab9ca5cd74b89116 |
User & Date: | js on 2020-09-18 13:47:57 |
Other Links: | manifest | tags |
Context
2020-10-04
| ||
10:53 | tmux: Set escape-time to 0 check-in: 731caa6883 user: js tags: trunk | |
2020-09-18
| ||
13:47 | Don't rely on tput check-in: b119513a53 user: js tags: trunk | |
2020-09-12
| ||
13:17 | Rename gpg-s* to gs* check-in: ce84ad04e7 user: js tags: trunk | |
Changes
Modified fish/functions/cvsd.fish from [def85b4246] to [d13ac32f48].
1 2 3 4 | function cvsd --wraps 'cvs diff' if type -q colordiff command cvs diff -uN $argv | colordiff | less -FRX else | | | | | 1 2 3 4 5 6 7 8 9 10 11 | 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 |
Modified fish/functions/fld.fish from [2fc5f175b6] to [ee25953f10].
1 2 3 4 | function fld --wraps 'fossil diff' if type -q colordiff command fossil diff -N $argv | colordiff | less -FRX else | | | | | 1 2 3 4 5 6 7 8 9 10 11 | function fld --wraps 'fossil diff' if type -q colordiff command fossil diff -N $argv | colordiff | less -FRX else set -l red (printf "\033[31m") set -l green (printf "\033[32m") set -l reset (printf "\033[0m") fossil diff -N $argv | sed "s/^+.*\$/$green&$reset/" | sed "s/^-.*\$/$red&$reset/" | less -FRX end end |
Modified zshrc from [7b40a0d9fc] to [f86bac4a30].
︙ | ︙ | |||
226 227 228 229 230 231 232 | esac } __has_command tmux && alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf" if ! __has_command colordiff; then colordiff() { | | | | | 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 | esac } __has_command tmux && alias tmux="tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf" if ! __has_command colordiff; then colordiff() { local red=$(printf "\033[31m") local green=$(printf "\033[32m") local reset=$(printf "\033[0m") sed "s/^+.*$/$green&$reset/" | sed "s/^-.*$/$red&$reset/" } fi if __has_command fossil; then alias fl="fossil" alias flc="fossil changes --differ" |
︙ | ︙ |