Merge pull request #6 from felix/git-commands
List git commands simply and portably
This commit is contained in:
commit
fdbb432ad1
@ -1,4 +1,4 @@
|
||||
#: | git | add, fetch... |
|
||||
set -A complete_git_1 -- \
|
||||
$(man -cT man git | grep -o 'git-[a-z-]*' | sort -u | cut -d '-' -f2-) \
|
||||
$(git --list-cmds=main) \
|
||||
$(git config --get-regexp ^alias\. | awk -F '[\. ]' '{ print $2 }')
|
||||
|
@ -8,6 +8,6 @@ The completions for level one are dynamically created using the following
|
||||
commands:
|
||||
|
||||
#+begin_src ksh
|
||||
$(man -cT man git | grep -o 'git-[a-z-]*' | sort -u | cut -d '-' -f2-) \
|
||||
$(git --list-cmds=main) \
|
||||
$(git config --get-regexp ^alias\. | awk -F '[\. ]' '{ print $2 }')
|
||||
#+end_src
|
||||
|
Loading…
Reference in New Issue
Block a user