Compare commits
2 Commits
0dc788d792
...
af5fad0012
Author | SHA1 | Date | |
---|---|---|---|
af5fad0012 | |||
1532b4b347 |
6
_bashrc
6
_bashrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user