Skip to content

Instantly share code, notes, and snippets.

@afeijo
Last active January 31, 2018 13:16
Show Gist options
  • Save afeijo/0c8c16c1726a27d4d1f4476c1f7cf53d to your computer and use it in GitHub Desktop.
Save afeijo/0c8c16c1726a27d4d1f4476c1f7cf53d to your computer and use it in GitHub Desktop.
alias ..='cd ..'
alias ...='..;..'
alias ....='...;..'
alias .....='...;...'
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$//'\'')"'
alias df='df -h'
alias du='du -h'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -lah'
alias la='ls -A'
alias ll='ls -alF'
alias ls='ls --color=auto'
alias www='cd /var/www'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment