Browse Source

Fix zsh prompt

master
Riyyi 7 years ago
parent
commit
3933b20115
  1. 2
      .config/zsh/.zshrc

2
.config/zsh/.zshrc

@ -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'

Loading…
Cancel
Save