Created
May 27, 2016 11:23
-
-
Save pugson/bc8fc405d01675b8b7a17552d1120e96 to your computer and use it in GitHub Desktop.
Adds arrow on new line in zsh 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="$PROMPT \ | |
%{$terminfo[bold]$fg[red]%}→ %{$reset_color%}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used
\n
This worked for me. Thanks!PROMPT="$PROMPT"$'\n'"%{$terminfo[bold]$fg[red]%}→ %{$reset_color%}"