ohmyksh/completions/git.org

12 lines
284 B
Org Mode
Raw Normal View History

2021-03-11 07:42:00 -07:00
#+TITLE: Completions: git
2020-07-19 08:07:12 -06:00
The ~git~ completion currently supports the following arguments:
** Level 1
2020-07-19 08:07:12 -06:00
#+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 }')
2020-07-19 08:07:12 -06:00
worktree
#+end_src