mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] diff colors by default
This commit is contained in:
parent
cc5dec6bdc
commit
c020e75725
1 changed files with 2 additions and 5 deletions
|
@ -13,10 +13,7 @@ alias sudo='sudo '
|
|||
alias cdd='dirs -v'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
|
||||
if ! command_exists colordiff; then
|
||||
alias colordiff='diff --color'
|
||||
fi
|
||||
alias diff='diff --color=auto'
|
||||
|
||||
# exa is a modern replacement for ls - https://the.exa.website/
|
||||
if command_exists exa; then
|
||||
|
@ -24,7 +21,7 @@ if command_exists exa; then
|
|||
alias lsa="${aliases[ls]} --all"
|
||||
alias l="${aliases[ls]} --long --header --binary --group"
|
||||
alias la="${aliases[l]} --all"
|
||||
alias tree="exa -T"
|
||||
alias tree="${aliases[ls]} --tree"
|
||||
else
|
||||
alias ls="ls --classify --group-directories-first --color=auto"
|
||||
alias lsa="${aliases[ls]} --almost-all"
|
||||
|
|
Loading…
Reference in a new issue