Source

dotfiles / .bashrc

Full commit
# history controls
export HISTCONTROL=ignoreboth

if [ $LOGNAME = 'root' ]; then
  export PS1='\e[31;1m\u\e[0m@\e[32;1m\h\e[0m:\w\$ '
elif [ $LOGNAME = 'yunake' ]; then
  export PS1='\u@\e[32;1m\h\e[0m:\w\$ '
else
  export PS1='\e[33;1m\u\e[0m@\e[32;1m\h\e[0m:\w\$ '
fi

alias s='sudo !!'

complete -cf sudo
complete -cf man
shopt -s checkwinsize
shopt -s histappend

. ~yunake/.myshrc