Skip to content

Instantly share code, notes, and snippets.

@leedavis81
Last active August 29, 2015 14:23
Show Gist options
  • Save leedavis81/fa4989440dfa8aa20eb6 to your computer and use it in GitHub Desktop.
Save leedavis81/fa4989440dfa8aa20eb6 to your computer and use it in GitHub Desktop.
.basrc shell prompt (PS1)
if [ $(id -u) -eq 0 ];
then
PS1="\[$bold\]\[$dk_blue\]\@\[$black\] \[$red\]\u\[$yellow\]@\[$green\]\h\[$pink\]:\w\[$reset\] $ "
else
PS1="\[$bold\]\[$dk_blue\]\@\[$black\] \[$green\]\u\[$yellow\]@\[$green\]\h\[$pink\]:\w\[$reset\] $ "
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment