diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2023-09-08 03:51:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 12:51:26 +0200 |
commit | 45d149c7d32b616ddf9f1a503506fa22012a10b4 (patch) | |
tree | 71f26b7f696652f88acfdc8fcafdc1386065eceb /bin/haspywin.py | |
parent | 8250a085b036af1adac23a8ba1de8af0a2f1fe5b (diff) | |
download | spack-45d149c7d32b616ddf9f1a503506fa22012a10b4.tar.gz spack-45d149c7d32b616ddf9f1a503506fa22012a10b4.tar.bz2 spack-45d149c7d32b616ddf9f1a503506fa22012a10b4.tar.xz spack-45d149c7d32b616ddf9f1a503506fa22012a10b4.zip |
bugfix: only complete aliases for potential aliases (#39887)
Smart alias completion introduced in #39499 wasn't as smart as it needed to be, and
would complete any invalid command prefix and some env names with alias names.
- [x] don't complete aliases if there are no potential completions
e.g., don't convert `spack isnotacommand` -> `spack concretize`
- [x] don't complete with an aliases if we're not looking at a top-level subcommand.
Diffstat (limited to 'bin/haspywin.py')
0 files changed, 0 insertions, 0 deletions