summaryrefslogtreecommitdiff
path: root/etc/completion/bash
Commit message (Collapse)AuthorAgeFilesLines
* bash completion: Complete files names after 'guix weather -m'.Oleg Pykhalov2018-07-031-0/+6
| | | | | * etc/completion/bash/guix (_guix_complete): Complete files names after 'guix weather -m'.
* bash completion: Complete files names after 'guix build -L'.Oleg Pykhalov2018-07-031-0/+6
| | | | | * etc/completion/bash/guix (_guix_complete): Complete files names after 'guix build -L'.
* Add guix-daemon Bash completion file.Oleg Pykhalov2018-06-161-0/+30
| | | | | * etc/completion/bash/guix-daemon: New file. * Makefile.am (dist_bashcompletion_DATA): Add this.
* bash completion: Complete files names after 'guix package -m'.Oleg Pykhalov2018-02-171-1/+10
| | | | | * etc/completion/bash/guix (_guix_is_dash_m): New function. (_guix_complete): Add this.
* bash completion: Complete files names after 'guix download'.Marius Bakke2017-08-221-0/+3
| | | | | * etc/completion/bash/guix (_guix_complete): When the command is "download", use __guix_complete_file.
* bash completion: Complete subcommands for the current word.Ludovic Courtès2017-02-071-1/+1
| | | | | * etc/completion/bash/guix (_guix_complete_subcommand): Refer to the $COMP_CWORD element instead of the last element.
* bash completion: Properly complete 'guix container exec'.Ludovic Courtès2017-02-071-0/+13
| | | | | * etc/completion/bash/guix (_guix_complete_pid): New function. (_guix_complete): Add case for "container".
* bash completion: Complete file names after 'guix system COMMAND'.Ludovic Courtès2017-02-071-1/+4
| | | | | * etc/completion/bash/guix (_guix_complete): When the command is "system" and $COMP_CWORD > 2, use _guix_complete_file.
* bash completion: Complete 'guix gc' with file names.Ludovic Courtès2017-02-071-2/+2
| | | | | | | 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'.
* bash completion: Complete subcommands and their options.Ludovic Courtès2016-09-071-7/+21
| | | | | | | * 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-071-6/+9
| | | | | | | | 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'.
* bash completion: Cache the list of subcommands and available packages.Ludovic Courtès2015-08-201-4/+19
| | | | | | | * 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-011-1/+1
| | | | | * 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-091-0/+139
* etc/completion/bash/guix: New file. * Makefile.am (dist_bashcompletion_DATA): New variable. * configure.ac: Add --with-bash-completion-dir.