Compare commits

..

2 Commits

Author SHA1 Message Date
af5fad0012 Enable z if available 2022-01-05 09:15:36 +01:00
1532b4b347 Use colors for ip 2022-01-05 09:15:08 +01:00

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$//'\'')"'
@ -74,3 +77,6 @@ cat () {
rcat $@;
fi
}
# Z
[[ -r "/usr/share/z/z.sh" ]] && source /usr/share/z/z.sh