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, 3 insertions, 11 deletions
diff --git a/zsh/prompt.zsh b/zsh/prompt.zsh
index 774f5f0..e041644 100644
--- a/zsh/prompt.zsh
+++ b/zsh/prompt.zsh
@@ -13,8 +13,8 @@ GIT_INFO=""
zstyle ':vcs_info:git*' formats "  %b %c%u%m%a"
zstyle ':vcs_info:*' enable git
zstyle ':vcs_info:*' check-for-changes true
-zstyle ':vcs_info:*' stagedstr ' %K{green} ✚ %k'
-zstyle ':vcs_info:*' unstagedstr ' %K{red} ● %k'
+zstyle ':vcs_info:*' stagedstr '%K{green} ✚ %k'
+zstyle ':vcs_info:*' unstagedstr '%K{red} ● %k'
PS_GIT_TAGS=""
PS_NODE=""
@@ -41,13 +41,5 @@ precmd() {
vcs_info
PS_NODE="$(get_pkg_manager)"
- git_tag=$(git describe --tags HEAD 2>/dev/null)
-
- if [[ $git_tag ]]; then
- PS_GIT_TAGS="%K{black}  $git_tag %k"
- else
- PS_GIT_TAGS=""
- fi
-
- PROMPT="%B$PS_ERR$PS_DIR$PS_GIT$PS_GIT_TAGS$PS_NODE %# %b"
+ PROMPT="%B$PS_ERR$PS_DIR$PS_GIT$PS_NODE %# %b"
}