vcs: Rename from git to support multiple vcs
This commit is contained in:
parent
1cce1a9a38
commit
4aec6b9ba3
7 changed files with 4 additions and 4 deletions
|
|
@ -1,15 +0,0 @@
|
|||
#compdef _gitignore gitignore
|
||||
#
|
||||
# Requires gitignore script in path
|
||||
#
|
||||
# Enables completion for zsh of gitignore function.
|
||||
|
||||
_gitignore_get_command_list() {
|
||||
curl -sL https://www.gitignore.io/api/list | tr ',' '\n'
|
||||
}
|
||||
|
||||
_gitignore() {
|
||||
_arguments \
|
||||
'1::flags:((-f\:"Save output to .gitignore file in current directory"))' \
|
||||
":listopts: _values -s, 'modules' $(_gitignore_get_command_list)"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue