1 2 3 4 5 6 7 8
#!/bin/sh # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return PS1='[\u@\h \w]\$ '