15 lines
441 B
Bash
15 lines
441 B
Bash
# some more ls aliases
|
|
alias ll='ls -alF'
|
|
alias la='ls -A'
|
|
alias l='ls -CF'
|
|
|
|
# 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$//'\'')"'
|
|
|
|
function gpg-reload {
|
|
gpg-connect-agent reloadagent /bye
|
|
gpg-agent --daemon
|
|
}
|
|
|
|
alias gccxml='gccxml.real'
|