# ~/.bashrc: executed by bash(1) for non-login shells.

export PS1='\h:\w\$ '
umask 022

# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval "`dircolors`"
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'

alias la="ls -la"
alias lss="ls -s"
alias lsss="ls -sSrx"
alias lr="ls -latr"
alias ls1="ls -1"
alias lsx="ls -X"
alias lssx="ls -sX"
alias lax="ls -laX"
alias lad="ls -laF | grep /"

alias pg="ps axf | grep "
alias pug="ps auxf | grep "
alias pugw="ps auxwwf | grep "
alias pgw="ps axwwf | grep "

alias hh="history | less"
alias hg="history | grep "

alias ps1='PS1=" \[\033[1m\]\u@\h \`date +%m%d\ %H%M%S\` \`cut -d \" \" -f1 /proc/loadavg\` \w>\[\033[0m\]"'
alias scr='cat > /dev/null'

alias grep='grep --color'

set -aP
shopt -s extglob
LANG=C
stty -ixon -ixoff

HISTIGNORE="&:ls:[bf]g:exit:shutdown:reboot:sshd stop:rm:rm -rf:halt"


alias rsync='ionice -c3 rsync --rsync-path="ionice -c3 rsync"'
