From 95ad94405c2b9117a7a00adebbfbf52a4daa4933 Mon Sep 17 00:00:00 2001 From: Ghasem Shirazi Date: Wed, 14 Apr 2021 12:12:26 -0700 Subject: [PATCH] get rid of commented stuff --- themes/agnoster.zsh-theme | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index befe37605..ea2abbccb 100755 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -85,9 +85,6 @@ prompt_end() { CURRENT_BG='' } -### for geting more git status details -source $ZSH/plugins/zsh-git-prompt/zshrc.sh - ### Prompt components # Each component will draw itself, and hide itself if no information needs to be shown @@ -122,33 +119,6 @@ prompt_git() { prompt_segment yellow red fi - # from zsh-git-prompt/zshrc.sh - # precmd_update_git_vars - # if [ -n "$__CURRENT_GIT_STATUS" ]; then - # if [ "$GIT_CHANGED" -ne "0" ]; then - # mode+=" $ZSH_THEME_GIT_PROMPT_CHANGED$GIT_CHANGED" - # fi - # if [ "$GIT_STAGED" -ne "0" ]; then - # mode+=" $ZSH_THEME_GIT_PROMPT_STAGED$GIT_STAGED" - # fi - # if [ "$GIT_BEHIND" -ne "0" ]; then - # mode+=" %{%F{black}$ZSH_THEME_GIT_PROMPT_BEHIND$GIT_BEHIND%f%}" - # fi - # if [ "$GIT_AHEAD" -ne "0" ]; then - # mode+=" %{%F{black}$ZSH_THEME_GIT_PROMPT_AHEAD$GIT_AHEAD%f%}" - # fi - # if [ "$GIT_CONFLICTS" -ne "0" ]; then - # mode+=" $ZSH_THEME_GIT_PROMPT_CONFLICTS$GIT_CONFLICTS" - # fi - # if [ "$GIT_UNTRACKED" -ne "0" ]; then - # mode+=" %{%F{black}$ZSH_THEME_GIT_PROMPT_UNTRACKED$GIT_UNTRACKED%f%}" - # fi - # if [ "$GIT_CHANGED" -eq "0" ] && [ "$GIT_CONFLICTS" -eq "0" ] && [ "$GIT_STAGED" -eq "0" ] && [ "$GIT_UNTRACKED" -eq "0" ]; then - # mode+=" %{%F{blue}\u2691%f%}" - # fi - # fi - # end from zsh-git-prompt/zshrc.sh - if [[ -e "${repo_path}/BISECT_LOG" ]]; then mode+=" " elif [[ -e "${repo_path}/MERGE_HEAD" ]]; then