1. # Check for an interactive session
  2. [ -z "$PS1" ] && return
  3.  
  4. alias ls='ls --color=auto'
  5. PS1='[\u@\h \W]\$ '
  6.