Skip to content

Instantly share code, notes, and snippets.

@makruger
Last active August 3, 2016 23:31
Show Gist options
  • Select an option

  • Save makruger/3f67c4437c7b20e0623e9585218ad1ef to your computer and use it in GitHub Desktop.

Select an option

Save makruger/3f67c4437c7b20e0623e9585218ad1ef to your computer and use it in GitHub Desktop.
#
# Define default prompt to <username>@<hostname>:<path><"($|#) ">
# and print '#' for user "root" and '$' for normal users.
#
#typeset +x PS1="\u@\h:\w\\$ "
typeset +x PS1="\e[0;35m\u\e[0;31m@\e[0;36m\h:\e[0;31m\w\\e[0;35m\$\e[m "
#Mike's personal customizations.
set -o noclobber
# Run aliases
if [ -f ~/.bash_alias ]; then
. ~/.bash_alias
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment