summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash11
1 files changed, 10 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 2de74b888c..102a205f20 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -906,7 +906,7 @@ _spack_gpg() {
then
SPACK_COMPREPLY="-h --help"
else
- SPACK_COMPREPLY="verify trust untrust sign create list init export"
+ SPACK_COMPREPLY="verify trust untrust sign create list init export publish"
fi
}
@@ -972,6 +972,15 @@ _spack_gpg_export() {
fi
}
+_spack_gpg_publish() {
+ if $list_options
+ then
+ SPACK_COMPREPLY="-h --help -d --directory -m --mirror-name --mirror-url --rebuild-index"
+ else
+ _keys
+ fi
+}
+
_spack_graph() {
if $list_options
then