9d8187ba6b
Completions are nothing more than auto-loadable functions prefixed with an underscore placed somewhere in $FPATH.
16 lines
284 B
Plaintext
16 lines
284 B
Plaintext
#compdef git-info
|
|
#autoload
|
|
|
|
#
|
|
# Completes git-info.
|
|
#
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
#
|
|
|
|
_arguments "1:toggle:((
|
|
on\:'enable in-prompt information for the current repository'
|
|
off\:'disable in-prompt information for the current repository'
|
|
))" && return 0
|
|
|