| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
Commit 538ca8dd65f0075cc65bcca18ed87f66a789290a introduced a second
'_guix_complete_subcommand' function, shadowing the existing one, which
broke sub-command completion for 'guix system', 'guix import', etc.
* etc/completion/bash/guix: Distinguish between '_guix_complete_command'
and '_guix_complete_subcommand'. Adjust users to call the right one.
|
|
|
|
| |
* etc/completion/bash/guix (_guix_complete): Add case for "guix environment".
|
|
|
|
|
|
| |
* etc/completion/bash/guix (_guix_complete_subcommand): New function.
(_guix_complete): Use it. For "time-machine", call
'_guix_complete_subcommand' by default.
|
|
|
|
|
|
| |
* etc/completion/bash/guix (_guix_is_dash_C, _guix_is_dash_p): New functions.
(_guix_complete): Honor them for "install", "remove", "upgrade", "pull",
and "time-machine".
|
|
|
|
|
|
|
|
|
| |
* guix/scripts/build.scm (show-help): Document --manifest argument.
(options->things-to-build): When given a manifest, evaluate all the entries.
* tests/guix-build.sh: Add test for --manifest.
* doc/guix.texi (Additional Build Options): Mention --manifest.
* etc/completion/bash/guix: Complete file name if 'guix build' argument is
-m.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* guix/scripts/install.scm, guix/scripts/remove.scm,
guix/scripts/upgrade.scm, tests/guix-package-aliases.sh: New files.
* Makefile.am (MODULES, SH_TESTS): Add them.
* po/guix/POTFILES.in: Add them.
* guix/scripts/package.scm (guix-package): Split with...
(guix-package*): ... this. New procedure.
* doc/guix.texi (Invoking guix package): Document them.
(Binary Installation, Application Setup, Package Management)
(Packages with Multiple Outputs, Package Modules)
(X.509 Certificates, Installing Debugging Files): Use 'guix install' in
simple examples.
* etc/completion/bash/guix (_guix_complete): Handle "install", "remove",
and "upgrade".
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
weather -m'.
|
|
|
|
|
| |
* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
build -L'.
|
|
|
|
|
| |
* etc/completion/bash/guix-daemon: New file.
* Makefile.am (dist_bashcompletion_DATA): Add this.
|
|
|
|
|
| |
* etc/completion/bash/guix (_guix_is_dash_m): New function.
(_guix_complete): Add this.
|
|
|
|
|
| |
* etc/completion/bash/guix (_guix_complete): When the command is "download",
use __guix_complete_file.
|
|
|
|
|
| |
* etc/completion/bash/guix (_guix_complete_subcommand): Refer to
the $COMP_CWORD element instead of the last element.
|
|
|
|
|
| |
* etc/completion/bash/guix (_guix_complete_pid): New function.
(_guix_complete): Add case for "container".
|
|
|
|
|
| |
* etc/completion/bash/guix (_guix_complete): When the command is
"system" and $COMP_CWORD > 2, use _guix_complete_file.
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
|
|
| |
* 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".
|
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* etc/completion/bash/guix (_guix_complete_option): Change grep regexp
to match options that don't have a short option name.
|
|
* etc/completion/bash/guix: New file.
* Makefile.am (dist_bashcompletion_DATA): New variable.
* configure.ac: Add --with-bash-completion-dir.
|