mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] add colordiff alternative
This commit is contained in:
parent
1bb21839be
commit
edf166391b
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ alias cdd='dirs -v'
|
|||
|
||||
alias grep='grep --color=auto'
|
||||
|
||||
if ! command_exists colordiff; then
|
||||
alias colordiff='diff --color'
|
||||
fi
|
||||
|
||||
# exa is a modern replacement for ls - https://the.exa.website/
|
||||
if command_exists exa; then
|
||||
alias ls="exa --classify --group-directories-first"
|
||||
|
|
Loading…
Reference in a new issue