ohmyksh/completions/git.ksh
2021-03-24 09:42:54 +11:00

5 lines
150 B
Bash
Executable File

#: | git | add, fetch... |
set -A complete_git_1 -- \
$(git --list-cmds=main) \
$(git config --get-regexp ^alias\. | awk -F '[\. ]' '{ print $2 }')