Re: [systemd-devel] [PATCH 11/11] Make redirections work with the bash command completions

2014-06-19 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jun 16, 2014 at 02:59:34PM +0200, Dr. Werner Fink wrote: On Fri, Jun 13, 2014 at 07:09:50PM +0300, Ran Benita wrote: From a cursory look, the bash-completion package deals with this issue in a more systematic way. See _init_completion() in /usr/share/bash-completion/bash_completion.

Re: [systemd-devel] [PATCH 11/11] Make redirections work with the bash command completions

2014-06-16 Thread Dr. Werner Fink
On Fri, Jun 13, 2014 at 07:09:50PM +0300, Ran Benita wrote: From a cursory look, the bash-completion package deals with this issue in a more systematic way. See _init_completion() in /usr/share/bash-completion/bash_completion. Maybe it's worthwhile to (conditionally?) use that if possible.

[systemd-devel] [PATCH 11/11] Make redirections work with the bash command completions

2014-06-13 Thread Werner Fink
--- shell-completion/bash/hostnamectl |6 +- shell-completion/bash/journalctl |6 +- shell-completion/bash/kernel-install | 13 - shell-completion/bash/localectl |6 +- shell-completion/bash/loginctl|6 +-

Re: [systemd-devel] [PATCH 11/11] Make redirections work with the bash command completions

2014-06-13 Thread Ran Benita
From a cursory look, the bash-completion package deals with this issue in a more systematic way. See _init_completion() in /usr/share/bash-completion/bash_completion. Maybe it's worthwhile to (conditionally?) use that if possible. Ran On Fri, Jun 13, 2014 at 04:41:10PM +0200, Werner Fink wrote: