mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] add an alias for a colorized wdiff
This commit is contained in:
parent
14db5e1902
commit
c98d336b83
1 changed files with 3 additions and 0 deletions
|
@ -120,3 +120,6 @@ if command_exists dragon-drag-and-drop && ! command_exists dragon; then
|
|||
fi
|
||||
|
||||
alias gtime="command time -v"
|
||||
|
||||
# Inspired by <https://github.com/junghans/cwdiff/blob/de56a73f37eb72edfb78ea610798a5744b8dcf10/cwdiff#L54-L61>.
|
||||
alias cwdiff='wdiff --start-delete="${fg[red]}[-" --end-delete="-]${reset_color}" --start-insert="${fg[green]}{+" --end-insert "+}${reset_color}"'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue