aboutsummaryrefslogtreecommitdiff
path: root/etc/completion
Commit message (Collapse)AuthorAge
* bash completion: Complete subcommands and their options.Ludovic Courtès2016-09-07
| | | | | | | * 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".
* bash completion: Redirect 'guix' stderr to /dev/null.Ludovic Courtès2016-09-07
| | | | | | | | 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'.
* Add Zsh completion file.Eric Le Bihan2016-09-07
| | | | | | | | * 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>
* bash completion: Cache the list of subcommands and available packages.Ludovic Courtès2015-08-20
| | | | | | | * 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.
* bash completion: Complete long options with no short variant.Ludovic Courtès2015-05-01
| | | | | * etc/completion/bash/guix (_guix_complete_option): Change grep regexp to match options that don't have a short option name.
* Add Bash completion file.Ludovic Courtès2015-04-09
* etc/completion/bash/guix: New file. * Makefile.am (dist_bashcompletion_DATA): New variable. * configure.ac: Add --with-bash-completion-dir.