vcs: Rename from git to support multiple vcs

This commit is contained in:
Marty Oehme 2024-09-18 17:25:12 +02:00
parent 1cce1a9a38
commit 4aec6b9ba3
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
7 changed files with 4 additions and 4 deletions

View file

@ -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)"
}