#-----------------------------------------------------------------------------------------
#module load openmpi/1.8.3/intel/13.1.0

#The following three lines were useful for ubuntu
#export GNUTERM=x11 #This is needed for gnuplot

set +o noclobber

PS1="\h:\w >"
alias hW='PS1="\h:\W >"'
alias hw='PS1="\h:\w >"'

export PATH=$PATH:.
alias h='history'
alias e='exit'
alias ls='ls -B --color=tty'
alias top10='ls -atl | head -10'
alias ps='ps -eo "%p %U %y %x %c %n %C" |sort -n -k7'
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
alias squeue='squeue -o "%.7i %.9P %.8j %.8u %.2t %.11M %.4D %.3C %.6N"'
alias sinfo='sinfo -e -p all -o "%.9P %.6a %.10T %.9O %.9N"'
#alias gp='rlwrap -a -c /usr/bin/gnuplot'

# append to bash_history if Terminal.app quits
shopt -s histappend
# Erase duplicates
export HISTCONTROL=erasedups
# resize history size
export HISTSIZE=10000
export HISTFILESIZE=10000
#-----------------------------------------------------------------------------------------

