Last active
August 29, 2015 14:15
-
-
Save akora/d0296b75669fd038f600 to your computer and use it in GitHub Desktop.
Two-line prompt for Mac OS X command line, for long paths. Tested in iTerm2.
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
# previous one line version | |
# PS1='\[\e[44;36m\][\u@\h \w] $\[\e[0m\] ' | |
color_blue="\[\e[44;36m\]" | |
path_short="\w" | |
color_reset="\[\e[0m\]" | |
new_line="\n" | |
PS1="$color_blue$path_short$color_reset$new_line[\u@\h] $ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment