Skip to content

Commit

Permalink
Visual update
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenygorchakov committed Apr 14, 2023
1 parent 89cd5b1 commit 95ec863
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gorchak.zsh-theme
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
function node_prompt_version {
if which node &> /dev/null; then
echo "n${FG[076]}⬢%{$reset_color%}de ${FG[076]}$(node -v) %{$reset_color%}"
echo "${FG[076]}⬢%{$reset_color%} ${FG[076]}$(node -v) %{$reset_color%}"
fi
}

PROMPT="%(?:🟢 :🔴 )"
PROMPT+='${FG[075]}%c%{$reset_color%} $(node_prompt_version)$(git_prompt_info)'

ZSH_THEME_GIT_PROMPT_PREFIX="${FG[078]}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="${FG[214]}%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="${FG[214]}"
ZSH_THEME_GIT_PROMPT_CLEAN=""

0 comments on commit 95ec863

Please sign in to comment.