Skip to content

Instantly share code, notes, and snippets.

@marano
Created May 17, 2012 17:47
Show Gist options
  • Save marano/2720500 to your computer and use it in GitHub Desktop.
Save marano/2720500 to your computer and use it in GitHub Desktop.
Happy console
export PS1='$( [[ ${?#0} = "" ]] && echo ":) " || echo ":( " )'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment