1
0
Fork 0

zsh: better way to disable git in mc

This commit is contained in:
Vladimír Dudr 2022-11-09 14:33:50 +01:00
parent 6d253bb40a
commit 25b7192738

View file

@ -54,6 +54,11 @@ fi
source $ZSH/oh-my-zsh.sh
if [[ -n "$MC_SID" ]]
then
zstyle ':vcs_info:*' check-for-changes false
fi
# User configuration
export GOPATH=~/go
@ -102,9 +107,4 @@ source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zs
if [[ -z "$MC_SID" ]]
then
RPS1='%{$fg_bold[red]%}%?%{$reset_color%}'
else
# in mc
function __git_prompt_git() {
return 0
}
fi