Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
completions: don't complete subcommands unless prev is "flux"
Problem: Unsupported subcommands in bash completions (i.e. those not in the big case statement in _flux_core()) end up having the list of subcommands again offered as suggestions to tab completion, e.g. `flux perilog-run <tab>` offers the list of `flux` subcommands as completions again. This is wrong. Only complete subcommands when `flux` is the previous command.
- Loading branch information