summaryrefslogtreecommitdiff
path: root/contrib/zsh_completion.in
diff options
context:
space:
mode:
authorWilliam Giokas <1007380@gmail.com>2013-04-01 10:19:35 +0000
committerAllan McRae <allan@archlinux.org>2013-04-09 11:51:45 +1000
commit0f486adfec6d44f7578e526379078231aa300601 (patch)
treebb8d54116c53b98ff6fa27b34f1d8411e435dc9b /contrib/zsh_completion.in
parentf9280a0523d0c49039a0ad27718701c20d874ec3 (diff)
downloadpacman-0f486adfec6d44f7578e526379078231aa300601.tar.xz
contrib: Use sysconfdir instead of /etc
Don't force people to see /etc. Signed-off-by: William Giokas <1007380@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib/zsh_completion.in')
-rw-r--r--contrib/zsh_completion.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/zsh_completion.in b/contrib/zsh_completion.in
index 9edcdfaf..c150144c 100644
--- a/contrib/zsh_completion.in
+++ b/contrib/zsh_completion.in
@@ -478,8 +478,8 @@ _key_longopts=(
)
_pacman_key_options=(
- '--config[Use an alternate config file (instead of /etc/pacman.con)]: :_files'
- '--gpgdir[Set an alternate directory for GnuPG (instead of /etc/pacman.d/gnupg)]: :_files -/'
+ '--config[Use an alternate config file (instead of @sysconfdir@/pacman.conf)]: :_files'
+ '--gpgdir[Set an alternate directory for GnuPG (instead of @sysconfdir@/pacman.d/gnupg)]: :_files -/'
'--keyserver[Specify a keyserver to use if necessary]'
)
@@ -585,7 +585,7 @@ _makepkg_longopts=(
'--allsource[Generate a source-only tarball including downloaded source]'
'--asroot[Allow makepkg to run as root user]'
'--check[Run check() function in the PKGBUILD]'
- '--config[Use an alternate config file instead of '/etc/makepkg.conf']: :_files'
+ '--config[Use an alternate config file instead of '@sysconfdir@/makepkg.conf']: :_files'
'--holdver[Prevent automatic version bumping for development PKGBUILDs]'
'--key[Specify key to use for gpg signing instead of the default]: :_keys'
'--nocheck[Do not run the check() function in the PKGBUILD]'