| Commit message (Expand) | Author | Age | Files | Lines |
* | bash completion: Complete subcommands and their options.•••* etc/completion/bash/guix (_guix_complete_subcommand): New function.
(_guix_complete_option): Allow completion of subcommand options.
(_guix_complete): Use '_guix_complete_subcommand' for "system" and
"import".
| Ludovic Courtès | 2016-09-07 | 1 | -7/+21 |
* | bash completion: Redirect 'guix' stderr to /dev/null.•••This avoids spurious messages when pressing TAB.
* etc/completion/bash/guix (_guix_complete_available_package)
(_guix_complete_installed_package, _guix_complete_option)
(_guix_complete): Redirect stderr to /dev/null when running 'guix'.
| Ludovic Courtès | 2016-09-07 | 1 | -6/+9 |
* | Add Zsh completion file.•••* etc/completion/zsh/_guix: New file.
* Makefile.am (dist_zshcompletion_DATA): New variable.
* configure.ac: Add --with-zsh-completion-dir.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Eric Le Bihan | 2016-09-07 | 1 | -0/+456 |
* | bash completion: Cache the list of subcommands and available packages.•••* etc/completion/bash/guix (_guix_complete_available_package): Cache the list
of available packages in '_guix_available_packages' and use it.
(_guix_complete): Cache the list of subcommands in '_guix_subcommands' and
use it.
| Ludovic Courtès | 2015-08-20 | 1 | -4/+19 |
* | bash completion: Complete long options with no short variant.•••* etc/completion/bash/guix (_guix_complete_option): Change grep regexp
to match options that don't have a short option name.
| Ludovic Courtès | 2015-05-01 | 1 | -1/+1 |
* | Add Bash completion file.•••* etc/completion/bash/guix: New file.
* Makefile.am (dist_bashcompletion_DATA): New variable.
* configure.ac: Add --with-bash-completion-dir.
| Ludovic Courtès | 2015-04-09 | 1 | -0/+139 |