Open OmeGak opened 7 years ago
I was trying this but it didn't work.
# Disable auto-completion of remote branches on `git checkout` # Source: http://stackoverflow.com/a/17133279/1901977 zstyle ':completion::complete:git-checkout:argument-rest:headrefs' command "git for-each-ref --format='%(refname)' refs/heads 2>/dev/null"
Some ideas on how to tackle it here: http://stackoverflow.com/questions/12175277/disable-auto-completion-of-remote-branches-in-zsh
I tried the _call_program approach, but it seems deprecated.
_call_program
I was trying this but it didn't work.