Last active
October 25, 2023 03:39
-
-
Save obar1/ef585d575f69487d966d58acc0c33376 to your computer and use it in GitHub Desktop.
my ps1
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
# - bash history id | |
# - current pwd but only last folder | |
# - colored git branch | |
# v0.1 | |
PS1='\! ${PWD#"${PWD%/*/*}/"}\n\e[1;34m\W$(__git_ps1 " (%s)")] \e[m' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sample