mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
get rid of commented stuff
This commit is contained in:
parent
5e94646694
commit
95ad94405c
1 changed files with 0 additions and 30 deletions
|
|
@ -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+=" <B>"
|
||||
elif [[ -e "${repo_path}/MERGE_HEAD" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue