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