Commit d2dfa694 authored by slavaGanzin's avatar slavaGanzin
Browse files

change name of overriden zle-line-init

parent a90527b4
......@@ -18,10 +18,10 @@ function git-auto-fetch {
echo "${fg_bold[red]}disabled${reset_color}")
}
eval "original-$(declare -f zle-line-init)"
eval "override-git-auto-fetch-$(declare -f zle-line-init)"
function zle-line-init () {
git-fetch-all
original-zle-line-init
override-git-auto-fetch-zle-line-init
}
zle -N zle-line-init
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment