<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/etc/completion, branch v1.4.0rc1</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>bash completion: Fix &amp; unify option parsing.</title>
<updated>2022-05-29T00:00:20+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2022-05-22T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=dc6d92ac93cedd65f6c99daa530b69f43f6039ec'/>
<id>dc6d92ac93cedd65f6c99daa530b69f43f6039ec</id>
<content type='text'>
We now correctly recognise ‘guix -Abcdef’ as equivalent to ‘guix -f’.

* etc/completion/bash/guix (_guix_is_short_option, guix_is_long_option):
New functions.
(_guix_is_dash_f, _guix_is_dash_l, _guix_is_dash_L, _guix_is_dash_m)
(_guix_is_dash_C, _guix_is_dash_p): Use them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We now correctly recognise ‘guix -Abcdef’ as equivalent to ‘guix -f’.

* etc/completion/bash/guix (_guix_is_short_option, guix_is_long_option):
New functions.
(_guix_is_dash_f, _guix_is_dash_l, _guix_is_dash_L, _guix_is_dash_m)
(_guix_is_dash_C, _guix_is_dash_p): Use them.
</pre>
</div>
</content>
</entry>
<entry>
<title>bash completion: Complete "guix home" sub-commands.</title>
<updated>2022-01-17T18:05:48+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2022-01-17T16:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=93d3a2b23cb264ae95e4478c28e3abd9ddcadd2d'/>
<id>93d3a2b23cb264ae95e4478c28e3abd9ddcadd2d</id>
<content type='text'>
* etc/completion/bash/guix (_guix_complete): Treat "guix home" like
"guix system".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/completion/bash/guix (_guix_complete): Treat "guix home" like
"guix system".
</pre>
</div>
</content>
</entry>
<entry>
<title>bash completion: Fix options completion.</title>
<updated>2022-01-16T22:56:56+00:00</updated>
<author>
<name>Fulbert</name>
<email>fulbert@bluewin.ch</email>
</author>
<published>2022-01-14T19:37:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=e35deac9e7379605c0e3918e74a6d153861a4aa2'/>
<id>e35deac9e7379605c0e3918e74a6d153861a4aa2</id>
<content type='text'>
Fixes, for example, "guix import pypi --&lt;TAB&gt;", which would previously
fail to show '--recursive'.

* etc/completion/bash/guix (_guix_complete_option): Fix options
completion for first subcommand.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes, for example, "guix import pypi --&lt;TAB&gt;", which would previously
fail to show '--recursive'.

* etc/completion/bash/guix (_guix_complete_option): Fix options
completion for first subcommand.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bash completion: Complete ‘guix shell -f’.</title>
<updated>2021-12-08T20:09:55+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2021-12-08T20:05:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=f3af1fb0bcbcbe18ab773374efe606e90107cfb6'/>
<id>f3af1fb0bcbcbe18ab773374efe606e90107cfb6</id>
<content type='text'>
* etc/completion/bash/guix (_guix_complete): Suggest a file name
following ‘guix shell […] -f’.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/completion/bash/guix (_guix_complete): Suggest a file name
following ‘guix shell […] -f’.
</pre>
</div>
</content>
</entry>
<entry>
<title>bash completion: Complete top-level options.</title>
<updated>2021-10-30T22:57:07+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2021-10-30T14:37:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=8e6989fcaf4a6de00e799777e2a0ccb90fc05e59'/>
<id>8e6989fcaf4a6de00e799777e2a0ccb90fc05e59</id>
<content type='text'>
* etc/completion/bash/guix (_guix_complete_option): Fix operation without a {,sub}command.
(_guix_complete): Call it also when no command is given.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/completion/bash/guix (_guix_complete_option): Fix operation without a {,sub}command.
(_guix_complete): Call it also when no command is given.
</pre>
</div>
</content>
</entry>
<entry>
<title>bash completion: Don't hard-code "guix" binary name.</title>
<updated>2021-10-30T22:57:07+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2021-10-30T14:34:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=0987a0eba4e8220e98e93686a4ad3ef87433fb2f'/>
<id>0987a0eba4e8220e98e93686a4ad3ef87433fb2f</id>
<content type='text'>
* etc/completion/bash/guix (_guix_complete_command):
Use ${COMP_WORDS[0]} instead of hard-coding "guix".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/completion/bash/guix (_guix_complete_command):
Use ${COMP_WORDS[0]} instead of hard-coding "guix".
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'guix shell'.</title>
<updated>2021-10-25T16:58:18+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2021-10-01T13:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=80edb7df6586464aa40e84e103f0045452de95db'/>
<id>80edb7df6586464aa40e84e103f0045452de95db</id>
<content type='text'>
* guix/scripts/shell.scm, tests/guix-shell.sh: New files.
* Makefile.am (MODULES): Add 'shell.scm'.
(SH_TESTS): Add 'tests/guix-shell.sh'.
* guix/scripts/environment.scm (show-environment-options-help): New
procedure.
(show-help): Use it.
(guix-environment*): New procedure.
(guix-environment): Use it.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Features): Refer to "guix shell"
(Invoking guix package): Likewise.
(Development): Likewise.
(Invoking guix shell): New node.
(Invoking guix environment): Add deprecation warning.
(Debugging Build Failures): Use 'guix shell' in examples.
(Invoking guix container): Refer to 'guix shell'.
(Invoking guix processes, Virtualization Services): Adjust examples to
use 'guix shell'.
* doc/contributing.texi (Building from Git): Refer to 'guix shell'.
* etc/completion/bash/guix: Handle "shell".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/scripts/shell.scm, tests/guix-shell.sh: New files.
* Makefile.am (MODULES): Add 'shell.scm'.
(SH_TESTS): Add 'tests/guix-shell.sh'.
* guix/scripts/environment.scm (show-environment-options-help): New
procedure.
(show-help): Use it.
(guix-environment*): New procedure.
(guix-environment): Use it.
* po/guix/POTFILES.in: Add it.
* doc/guix.texi (Features): Refer to "guix shell"
(Invoking guix package): Likewise.
(Development): Likewise.
(Invoking guix shell): New node.
(Invoking guix environment): Add deprecation warning.
(Debugging Build Failures): Use 'guix shell' in examples.
(Invoking guix container): Refer to 'guix shell'.
(Invoking guix processes, Virtualization Services): Adjust examples to
use 'guix shell'.
* doc/contributing.texi (Building from Git): Refer to 'guix shell'.
* etc/completion/bash/guix: Handle "shell".
</pre>
</div>
</content>
</entry>
<entry>
<title>etc: completion: Filter gratuitous spaces from available packages.</title>
<updated>2021-10-24T18:17:05+00:00</updated>
<author>
<name>Liliana Marie Prikler</name>
<email>liliana.prikler@gmail.com</email>
</author>
<published>2021-10-24T12:09:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=55f6d9e818512b4e3e4adacfa99deb201b6854be'/>
<id>55f6d9e818512b4e3e4adacfa99deb201b6854be</id>
<content type='text'>
Tested with:

  guix environment --{ad-hoc,pure} zsh guix bash-completion coreutils -- zsh
  % fpath=(~/guix/etc/completion/zsh $fpath)
  % autoload -U compinit; compinit

* etc/completion/zsh/_guix (_guix_list_available_packages): Remove spaces.

Co-authored-by: Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested with:

  guix environment --{ad-hoc,pure} zsh guix bash-completion coreutils -- zsh
  % fpath=(~/guix/etc/completion/zsh $fpath)
  % autoload -U compinit; compinit

* etc/completion/zsh/_guix (_guix_list_available_packages): Remove spaces.

Co-authored-by: Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bash completion: Fix ‘system’ &amp; ‘container’ subcommands.</title>
<updated>2021-10-03T17:23:49+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2021-10-03T12:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=ed14bc298470f77f4ffacdc315ae87939f81c765'/>
<id>ed14bc298470f77f4ffacdc315ae87939f81c765</id>
<content type='text'>
* etc/completion/bash/guix (_guix_complete): Count words from the
innermost command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/completion/bash/guix (_guix_complete): Count words from the
innermost command.
</pre>
</div>
</content>
</entry>
<entry>
<title>bash completion: Complete ‘guix size’ file names.</title>
<updated>2021-10-03T17:23:49+00:00</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2021-10-03T11:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=d71cfaea3006bc02dc6d309d916809e1f799f04e'/>
<id>d71cfaea3006bc02dc6d309d916809e1f799f04e</id>
<content type='text'>
* etc/completion/bash/guix (_guix_complete): Complete store file names
after the ‘size’ command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* etc/completion/bash/guix (_guix_complete): Complete store file names
after the ‘size’ command.
</pre>
</div>
</content>
</entry>
</feed>
