summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-06-07 11:52:07 -0500
committerGitHub <noreply@github.com>2017-06-07 11:52:07 -0500
commit0bbafb1673460e404c6ea43afbcbc82ee42ebd82 (patch)
tree06dae9de80a461d4b4d5e46c397180b873a0cd12
parent29090a527af34bcc9c5d5414ce8e61ac42d40bb0 (diff)
downloadspack-0bbafb1673460e404c6ea43afbcbc82ee42ebd82.tar.gz
spack-0bbafb1673460e404c6ea43afbcbc82ee42ebd82.tar.bz2
spack-0bbafb1673460e404c6ea43afbcbc82ee42ebd82.tar.xz
spack-0bbafb1673460e404c6ea43afbcbc82ee42ebd82.zip
Fix tab completion of Spack subcommands (#4442)
-rwxr-xr-xshare/spack/spack-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index b8d104aca8..818f4d8acf 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -843,7 +843,7 @@ function _spack_view_symlink {
# Helper functions for subcommands
function _subcommands {
- spack help | grep "^ [a-z]" | awk '{print $1}'
+ spack help --all | grep "^ [a-z]" | awk '{print $1}' | grep -v spack
}
function _all_packages {