diff --git a/home/.config/sh/aliases b/home/.config/sh/aliases index e224c70..202b6d2 100755 --- a/home/.config/sh/aliases +++ b/home/.config/sh/aliases @@ -206,9 +206,23 @@ if [ -x /usr/bin/dircolors ]; then alias vdir='vdir --color=auto' alias grep='grep --color=auto' - alias cgrep='grep --color=always' + alias cgrep='grep --color=always' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' + + alias diff='diff --color=auto' + alias ip='ip --color=auto' + + export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink + export LESS_TERMCAP_md=$'\E[1;36m' # begin bold + export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink + export LESS_TERMCAP_so=$'\E[01;33m' # begin reverse video + export LESS_TERMCAP_se=$'\E[0m' # reset reverse video + export LESS_TERMCAP_us=$'\E[1;32m' # begin underline + export LESS_TERMCAP_ue=$'\E[0m' # reset underline + + # Take advantage of $LS_COLORS for completion as well + zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" fi # Normalize `open` across Linux, macOS, and Windows.