mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 08:41:43 +00:00
Merge completions into functions
Completions are nothing more than auto-loadable functions prefixed with an underscore placed somewhere in $FPATH.
This commit is contained in:
15
modules/git/functions/_git-info
Normal file
15
modules/git/functions/_git-info
Normal file
@ -0,0 +1,15 @@
|
||||
#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
|
||||
|
Reference in New Issue
Block a user