Skip to content

Instantly share code, notes, and snippets.

@tonyta
Created October 23, 2020 00:46
Show Gist options
  • Save tonyta/83b983c608e7588b53f15c1386e5f1fb to your computer and use it in GitHub Desktop.
Save tonyta/83b983c608e7588b53f15c1386e5f1fb to your computer and use it in GitHub Desktop.
PS1='\n$(exit_status)'
PS1=$PS1' \[\033[4;34m\]\u\[\033[m\]' # username
PS1=$PS1' \[\033[32m\]\w\[\033[m\]' # directory
PS1=$PS1' $(ruby_version)'
# PS1=$PS1' $(python_version)'
PS1=$PS1' $(lifemeter)'
PS1=$PS1' $(git_branch) $(git_status)'
PS1=$PS1'\n \[\033[1;35m\]»\[\033[m\] ' # prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment