Skip to content

Instantly share code, notes, and snippets.

@Kanaderu
Forked from teirich/Table-Flip-Bash-Prompt
Created February 10, 2017 16:10
Show Gist options
  • Save Kanaderu/e7e3f79387708ec2d7c40b24e11dca3d to your computer and use it in GitHub Desktop.
Save Kanaderu/e7e3f79387708ec2d7c40b24e11dca3d to your computer and use it in GitHub Desktop.
#ONE PS1 TO RULE THEM ALL
#add this to ~/.bash_profile or system equivalent
export PS1="\[\033[0;32m\]\u@\`if [ \$? = 0 ]; then echo \[\e[32m\] ┬─┬ノ\(º _ ºノ\); else echo \[\e[31m\] \(ノಥ 益ಥ)ノ ┻━┻ ; fi\`\[\e[0m\]:\w\$ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment