Created
May 31, 2024 23:48
-
-
Save chrisdlees/062a9932a8fef1943435957a6b1a95d6 to your computer and use it in GitHub Desktop.
Custom Bash Prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROMPT_COMMAND='PS1_CMD1=$(__git_ps1 " (%s)")'; PS1='\[\e[38;5;182;48;5;17m\]\t\[\e[38;5;214;48;5;18m\]${PS1_CMD1}\[\e[39m\] \[\e[38;5;182;48;5;17m\]\w\n\[\e[38;5;19;48;5;254;4m\]Hist \[\e[31;48;5;255;1m\]\!\[\e[0;48;5;237m\] \[\e[38;5;18;48;5;254;4m\]Jobs \[\e[31;48;5;255;1m\]\j\[\e[0;48;5;237m\] \[\e[38;5;19;48;5;255;4m\]Status \[\e[31;1m\]$?\n\[\e[49;38;5;72m\]\u\[\e[0m\]@\[\e[38;5;155;3;4m\]\H\[\e[0;4;1;53m\]_\[\e[38;5;229;2m\]\$\[\e[0m\]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment