Some new aliases and seperated profiles

This commit is contained in:
Tim
2015-11-05 18:12:40 +01:00
parent 46f1f0395c
commit 9315ea3fb3
3 changed files with 35 additions and 16 deletions

View File

@ -129,12 +129,6 @@ if [ -x /usr/bin/dircolors ]; then
alias egrep='egrep --color=auto'
fi
# some more ls aliases
alias ll='ls -alFh'
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$//'\'')"'