Fix zsh prompt

This commit is contained in:
Riyyi
2018-01-10 12:05:15 +01:00
parent b84371778c
commit 3933b20115
+1 -1
View File
@@ -25,7 +25,7 @@ precmd() {
USR_HOST="$fg[cyan]%n$reset_color@$fg[cyan]%m$reset_color"
DIRECTORY="$fg[green]%~$reset_color"
ARROW="%(?::$fg[red])➤$reset_color"
ARROW="%(?..%{$fg[red]%})➤$reset_color"
PROMPT='╭─${USR_HOST} ${DIRECTORY} ${vcs_info_msg_0_}
╰─${ARROW} '
RPROMPT='%t'