Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@marksteve
Last active March 31, 2017 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marksteve/86c83f3beda0de55c1f5e4b91fc2ec00 to your computer and use it in GitHub Desktop.
Save marksteve/86c83f3beda0de55c1f5e4b91fc2ec00 to your computer and use it in GitHub Desktop.
#!/bin/bash
# curl -L https://git.io/remote_prompt.sh | bash
RS="\[\033[0m\]" # reset
FBLK="\[\033[30m\]" # foreground black
BRED="\[\033[41m\]" # background red
echo >> ~/.bashrc
echo "export PS1='$FBLK$BRED\u@\h$RS:\w\$ '" >> ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment