Skip to content

Instantly share code, notes, and snippets.

@DirkyJerky
Last active August 29, 2015 14:06
Show Gist options
  • Save DirkyJerky/19de95a1e4fdc88b8bda to your computer and use it in GitHub Desktop.
Save DirkyJerky/19de95a1e4fdc88b8bda to your computer and use it in GitHub Desktop.
My bootyful bash prompt variables
export PS1="\\[$(tput setab 4)$(tput setaf 1)\\]"'{\w}'"\\[$(tput sgr0)"'$(~/etc/ps1_exitstatus $?)'"$(tput bold)\\]"'\$'"\\[$(tput sgr0)\\] "
export PS2="\\[$(tput setab 4)$(tput setaf 1)\\]"'>'"\\[$(tput sgr0)\\]"
@DirkyJerky
Copy link
Author

Changed '$' to '$'
Derp

@DirkyJerky
Copy link
Author

export PS1="[\033[31m][\033[44m][\033[1;31m]{\w}[\033[0m][\033[1;30m]~/etc/ps1_exitstatus \$?$[\033[0m] "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment