# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # This entire section only runs for interactive shells. if [[ ! -z $PS1 ]]; then # Setup the shell to be nicer shopt -s histappend cmdhist cdspell xpg_echo export HISTIGNORE="&:[bf]g:exit" # Set prompt export PS1="\u@\h:\w \\$ " # Aliases alias ls='ls -F --color' alias ll='ls -l --color' alias lsd="ls -p | grep '/$'" # Switch off biff if [ -x biff ]; then biff n fi # Switch off flow control stty -ixon fi