# Bash rc for eenos control panel users
# enable color support of ls and also add handy aliases
# Source global definitions
# For debians
# For file and folder default permissions
umask  022

if [ -f /etc/bash.bashrc ]; then
	. /etc/bash.bashrc
fi
# For RHEL
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    alias dir='dir --color=auto'
    alias vdir='vdir --color=auto'
    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi
# Activate the local alias 
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Local bin paths
export PATH=$HOME/bin:$PATH
# Init the rbenv automatically
#if [ -f /usr/bin/rbenv ];then
#    eval "$(rbenv init -)"
#export PATH=$HOME/.rbenv/bin:$HOME/bin:$PATH
#fi
export PS1='\[\033[01;32m\][\@] \[\033[01;30m\]\u@\h:$\[\033[01;32m\] \w \[\033[01;37m\]\$\[\033[00m\] '
# Add your custom settings below
