summaryrefslogtreecommitdiff
path: root/zsh/prompt.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/prompt.zsh')
-rw-r--r--zsh/prompt.zsh14
1 files changed, 8 insertions, 6 deletions
diff --git a/zsh/prompt.zsh b/zsh/prompt.zsh
index bdcb66e..f36bdf0 100644
--- a/zsh/prompt.zsh
+++ b/zsh/prompt.zsh
@@ -9,8 +9,8 @@ setopt PROMPT_SUBST
GREY=0
GREEN=2
BLUE=4
-RED_UNSTAGED=88
-GREEN_STAGED=22
+COLOR_UNSTAGED=0
+COLOR_STAGED=0
# %b - branch
# %F{color} %f - foreground
# %K{color} %k - background
@@ -21,8 +21,8 @@ GREEN_STAGED=22
zstyle ':vcs_info:git*' formats "%K{$BLUE}  %b%u%c%m%a %k"
zstyle ':vcs_info:*' enable git
zstyle ':vcs_info:*' check-for-changes true
-zstyle ':vcs_info:*' stagedstr "%F{$GREEN_STAGED} 󱇬%f"
-zstyle ':vcs_info:*' unstagedstr "%F{$RED_UNSTAGED} ?%f"
+zstyle ':vcs_info:*' stagedstr "%F{$COLOR_STAGED} 󱇬%f"
+zstyle ':vcs_info:*' unstagedstr "%F{$COLOR_UNSTAGED} ?%f"
get_pkg_manager() {
if [[ -f yarn.lock ]]; then
@@ -50,8 +50,10 @@ precmd() {
NEWLINE=$'\n'
FIRST_ROW="%B${SSH}${DIR}${GIT}${ERR}${NODEJS}${JOBS}%b"
# SECOND_ROW="%K{$GREEN} %K{15}%F{0} %# %f%k "
- SECOND_ROW="%K{15}%F{0} %# %f%k "
+ # SECOND_ROW="%K{15}%F{0} %# %f%k "
+ SECOND_ROW=" %# "
# SECOND_ROW="%K{$GREEN} %k %# "
- PROMPT="${FIRST_ROW}${NEWLINE}${SECOND_ROW}"
+ # PROMPT="${FIRST_ROW}${NEWLINE}${SECOND_ROW}"
+ PROMPT="${FIRST_ROW}${SECOND_ROW}"
}