-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: assorted completion-related issues (#226)
* Unquote the token-to-be-completed passed into compgen * Support multiple-options-in-one-token in getopts (e.g., -abc as shorthand for -a -b -c) * Initialize OPTIND, OPTERR in each newly constructed shell. * Fix bug in printf hack for %q and ~%q. * Don't filter out file/dir completions whose prefixes don't match the token-being-completed (e.g., for ~ et al.). * For file/dir completions, basic-expand the token-to-be-completed (we formerly did this higher up the stack). * Express compatibility with a slightly newer version of bash (5.2.x). * Re-enable some previously disabled tests.
- Loading branch information
Showing
12 changed files
with
219 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.