Created
June 27, 2011 15:55
-
-
Save jnbek/1049136 to your computer and use it in GitHub Desktop.
zsh prompts
This file contains hidden or 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
| SJOBS=`jobs | sed "s/ */ /g" | cut -d" " -f1,3-` | |
| if [[ "$WINDOW" == "" ]]; then | |
| export PS1="$SJOBS | |
| [J:%j]%n@%m($BRAND):%d%# " # prompt string | |
| else | |
| export PS1="$SJOBS | |
| [J:%j][$WINDOW]%n@%m($BRAND):%d%# " # prompt string showing screen window | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment