2019-09-23 16:00:00 +02:00
|
|
|
# some more ls aliases
|
2019-10-24 00:48:10 +02:00
|
|
|
alias ll='ls -alhF'
|
2019-09-23 16:00:00 +02:00
|
|
|
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'
|