Skip to content

Commit

Permalink
zsh: complete g[it] div
Browse files Browse the repository at this point in the history
git-div gets no completion because I cannot invoke
__git_complete_refs from anywhere, oddly.
  • Loading branch information
benknoble committed Nov 29, 2024
1 parent fa6fee4 commit f41d53f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions links/zshfns/_git_div
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#compdef git-div

emulate -L zsh

# change some options (may not be necessary)
setopt $_comp_options

# for git doc style invocations
__git_complete_refs

0 comments on commit f41d53f

Please sign in to comment.