public
Created

prompt for jsibbold

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10
if [ "$PS1" != "" ] ; then # Interactive shells only
case "$TERM" in
xterm*|vt100|screen|ansi)
export PS1="\[\033[0;36m\]\u@$(hostname):\$($HOME/.shortpwd)\[\033[0m\]\$ "
;;
*)
export PS1="\u@$(hostname):\$($HOME/.shortpwd)\$ "
;;
esac
fi

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.