summaryrefslogtreecommitdiff
path: root/etc/completion/bash
AgeCommit message (Expand)Author
2018-11-06bash completion: Restore completion of available packages for 'guix build'....Fixes a regression introduced in 9b0a755f642542dd96065ad05ec9d844d8077fd7 whereby 'guix build TAB' would not suggest any completion. * etc/completion/bash/guix (_guix_complete): Arrange so 'guix build TAB' completes available packages. Ludovic Courtès
2018-07-03bash completion: Complete files names after 'guix weather -m'....* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix weather -m'. Oleg Pykhalov
2018-07-03bash completion: Complete files names after 'guix build -L'....* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix build -L'. Oleg Pykhalov
2018-06-16Add guix-daemon Bash completion file....* etc/completion/bash/guix-daemon: New file. * Makefile.am (dist_bashcompletion_DATA): Add this. Oleg Pykhalov
2018-02-17bash completion: Complete files names after 'guix package -m'....* etc/completion/bash/guix (_guix_is_dash_m): New function. (_guix_complete): Add this. Oleg Pykhalov
2017-08-22bash completion: Complete files names after 'guix download'....* etc/completion/bash/guix (_guix_complete): When the command is "download", use __guix_complete_file. Marius Bakke
2017-02-07bash completion: Complete subcommands for the current word....* etc/completion/bash/guix (_guix_complete_subcommand): Refer to the $COMP_CWORD element instead of the last element. Ludovic Courtès
2017-02-07bash completion: Properly complete 'guix container exec'....* etc/completion/bash/guix (_guix_complete_pid): New function. (_guix_complete): Add case for "container". Ludovic Courtès
2017-02-07bash completion: Complete file names after 'guix system COMMAND'....* etc/completion/bash/guix (_guix_complete): When the command is "system" and $COMP_CWORD > 2, use _guix_complete_file. Ludovic Courtès
2017-02-07bash completion: Complete 'guix gc' with file names....Reported by a couple of cool folks at a bar in Brussels. * etc/completion/bash/guix (_guix_complete): Use '_guix_complete_file' for 'guix gc'. This fixes completion of 'guix gc -d'. Ludovic Courtès
2016-09-07bash 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-07bash 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
2015-08-20bash 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-05-01bash 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-04-09Add 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