Most of the aliases are for Pacman and Yaourt (Arch Linux).
alias ls='ls --color=auto'
alias ll='ls -lh'
alias la='ls -a'
alias grep='grep --color=auto'
alias e='exit'
alias p='sudo pacman-color'
alias y='yaourt'
alias abs='sudo abs'
alias Ql='yaourt -Ql'
alias Qi='yaourt -Qi'
alias R='yaourt -Rsn'
alias Si='yaourt -Si'
alias Ss='yaourt -Ss'
alias S='yaourt -S'
alias Syu='yaourt -Syu'
alias i='icepac'
alias Scc='yaourt -Scc'
alias Qdt='yaourt -Qdt'
alias clean='yaourt -Qdt && yaourt -Scc'
alias colors='/usr/bin/bashcolors.sh'
if [[ $- != *i* ]] ; then
return
fi
function x()
{
if [ -f "$1" ] ; then
case "$1" in
*.tar.bz2) tar xjf "$1" ;;
*.tar.gz) tar xzf "$1" ;;
*.tar.Z) tar xzf "$1" ;;
*.bz2) bunzip2 "$1" ;;
*.rar) unrar x "$1" ;;
*.gz) gunzip "$1" ;;
*.jar) unzip "$1" ;;
*.tar) tar xf "$1" ;;
*.tbz2) tar xjf "$1" ;;
*.tgz) tar xzf "$1" ;;
*.zip) unzip "$1" ;;
*.Z) uncompress "$1" ;;
*) echo "'$1' cannot be extracted." ;;
esac
else
echo "'$1' is not a file."
fi
}
PS1='\[\033[0;34m\][\T] \[\033[00;33m\][\W]\[\033[0;31m\] :\[\033[0m\] '
export BROWSER=firefox
export EDITOR=geany