ohmyksh/completions/git.org

12 lines
284 B
Org Mode

#+TITLE: Completions: git
The ~git~ completion currently supports the following arguments:
** Level 1
#+begin_src ksh
$(man -cT man git | grep -o 'git-[a-z-]*' | sort -u | cut -d '-' -f2-) \
$(git config --get-regexp ^alias\. | awk -F '[\. ]' '{ print $2 }')
worktree
#+end_src