File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,8 +89,7 @@ precmd() {
8989 local git=" $( git_prompt) "
9090 local venv=" $( venv_prompt) "
9191 local path=" $( path_prompt) "
92- PROMPT="
93- ${NEON_CYAN}${ICON}${RESET} ${distro} ${NEON_YELLOW}${time}${RESET} ${NEON_PURPLE}${user}${RESET} ${path} ${git} ${venv}
92+ PROMPT=" ${NEON_CYAN}${ICON}${RESET} ${distro} ${NEON_YELLOW}${time}${RESET} ${NEON_PURPLE}${user}${RESET} ${path} ${git} ${venv}
9493${NEON_CYAN} ${RESET} "
9594}
9695
@@ -198,6 +197,13 @@ weekly_system_update() {
198197
199198add-zsh-hook precmd weekly_system_update
200199
200+ draw_separator () {
201+ local cols=${COLUMNS:- 120}
202+ local line=" ${(l: ${cols} :: ─: )} "
203+ print -P " %F{240}${line} %f"
204+ }
205+
206+ add-zsh-hook precmd draw_separator
201207export NVM_DIR=" $HOME /.nvm"
202208[ -s " $NVM_DIR /nvm.sh" ] && . " $NVM_DIR /nvm.sh"
203209[ -s " $NVM_DIR /bash_completion" ] && . " $NVM_DIR /bash_completion"
You can’t perform that action at this time.
0 commit comments