Use colors for ip

This commit is contained in:
Markus Koch 2022-01-05 09:15:08 +01:00
parent 0dc788d792
commit 1532b4b347

View File

@ -44,6 +44,9 @@ alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# More color aliases
alias ip='ip -c'
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'