|
|
@ -40,12 +40,14 @@ precmd() { |
|
|
|
print -Pn "\e]0;%n@%m %~\a" |
|
|
|
print -Pn "\e]0;%n@%m %~\a" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ZSH parameters |
|
|
|
USR_HOST="%F{cyan}%n%f@%F{cyan}%m%f" |
|
|
|
USR_HOST="%F{cyan}%n%f@%F{cyan}%m%f" |
|
|
|
DIRECTORY="%F{green}%~%f" |
|
|
|
DIRECTORY="%F{green}%~%f" |
|
|
|
ARROW="%(?..%F{red})➤%f" |
|
|
|
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' |
|
|
|
|
|
|
|
TIMEFMT=$'\nreal\t%*Es\nuser\t%*Us\nsys\t%*Ss' |
|
|
|
|
|
|
|
|
|
|
|
# Git |
|
|
|
# Git |
|
|
|
zstyle ':vcs_info:*' enable git |
|
|
|
zstyle ':vcs_info:*' enable git |
|
|
|