Browse Source

Optimize zsh colors

master
Riyyi 7 years ago
parent
commit
bee922964d
  1. 6
      .config/zsh/.zshrc

6
.config/zsh/.zshrc

@ -23,9 +23,9 @@ precmd() {
vcs_info vcs_info
} }
USR_HOST="$fg[cyan]%n$reset_color@$fg[cyan]%m$reset_color" USR_HOST="%F{cyan}%n%f@%F{cyan}%m%f"
DIRECTORY="$fg[green]%~$reset_color" DIRECTORY="%F{green}%~%f"
ARROW="%(?..%{$fg[red]%})➤$reset_color" ARROW="%(?..%F{red})➤%f"
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