diff options
author | slavaGanzin <slava.ganzin@gmail.com> | 2017-02-07 15:44:12 +0200 |
---|---|---|
committer | slavaGanzin <slava.ganzin@gmail.com> | 2017-02-07 15:44:12 +0200 |
commit | d2dfa69419845daebcfd20fed3253ae06faa2876 (patch) | |
tree | 28a4c595e3bd87ad7023b40ba2f9a483ba82c654 /plugins/git-auto-fetch | |
parent | a90527b46d67e70f92258849b265b6bfd5e910e0 (diff) | |
download | zsh-d2dfa69419845daebcfd20fed3253ae06faa2876.tar.gz zsh-d2dfa69419845daebcfd20fed3253ae06faa2876.tar.bz2 zsh-d2dfa69419845daebcfd20fed3253ae06faa2876.zip |
change name of overriden zle-line-init
Diffstat (limited to 'plugins/git-auto-fetch')
-rw-r--r-- | plugins/git-auto-fetch/git-auto-fetch.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh b/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh index 03fa911e7..1d20bc04b 100644 --- a/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh +++ b/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh @@ -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 |