Skip to content

Instantly share code, notes, and snippets.

@amatsumara
Last active April 16, 2017 00:10
Show Gist options
  • Save amatsumara/5d0bec0ef92b5c7f18cb7b7d78cdb5f8 to your computer and use it in GitHub Desktop.
Save amatsumara/5d0bec0ef92b5c7f18cb7b7d78cdb5f8 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# .bashrc
# Unprivileged [green]
export PS1='\A[\l]\[\033[0m\033[32m\]\u\[\033[1m\033[37m\]@\[\033[0m\033[32m\]\h:\[\033[0m\033[37m\]\w>'
# Privileged [red]
# PS1='\A[\l]\[\e[0m\e[1;31m\]\u\[\e[1m\e[37m\]@\[\e[0m\e[32m\]\h:\[\e[0m\e[37m\]\w>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment