diff options
author | Levente Polyak <anthraxx@archlinux.org> | 2019-09-13 01:32:57 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2019-09-28 00:16:09 +0200 |
commit | 64b7d995040fc670aaed5fbd048157b3feba0574 (patch) | |
tree | cfb9955b87bea4a329c3372da874d149102c813d /lib/valid-repos.sh | |
parent | f32a264796b3b43662b4734f1730d7a819d32484 (diff) | |
download | devtools-64b7d995040fc670aaed5fbd048157b3feba0574.tar.xz |
zsh_completion: add sogrep completions
Transform sogrep into an in-prog so we can benefit from the m4 macro
to specify valid repos in a single place of truth.
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'lib/valid-repos.sh')
-rw-r--r-- | lib/valid-repos.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/valid-repos.sh b/lib/valid-repos.sh new file mode 100644 index 0000000..252fdcf --- /dev/null +++ b/lib/valid-repos.sh @@ -0,0 +1,31 @@ +#!/hint/bash +# License: Unspecified +: + +# shellcheck disable=2034 +_repos=( + staging + testing + core + extra + community-staging + community-testing + community + multilib-staging + multilib-testing + multilib + gnome-unstable + kde-unstable +) + +# shellcheck disable=2034 +_build_repos=( + staging + testing + extra + multilib-staging + multilib-testing + multilib + gnome-unstable + kde-unstable +) |