Fix zsh prompt
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ precmd() {
|
|||||||
|
|
||||||
USR_HOST="$fg[cyan]%n$reset_color@$fg[cyan]%m$reset_color"
|
USR_HOST="$fg[cyan]%n$reset_color@$fg[cyan]%m$reset_color"
|
||||||
DIRECTORY="$fg[green]%~$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_}
|
PROMPT='╭─${USR_HOST} ${DIRECTORY} ${vcs_info_msg_0_}
|
||||||
╰─${ARROW} '
|
╰─${ARROW} '
|
||||||
RPROMPT='%t'
|
RPROMPT='%t'
|
||||||
|
|||||||
Reference in New Issue
Block a user