$ $BRO #makes $BROWSER. Good!
$ xargs $BRO #just beeps. Bad.
Yes I have bash-completions installed but am not sure what is to blame.
On 11/5/17 10:37 AM, 積丹尼 Dan Jacobson wrote:
> $ $BRO #makes $BROWSER. Good!
> $ xargs $BRO #just beeps. Bad.
> Yes I have bash-completions installed but am not sure what is to blame.
It's bash-completion. You can easily check this yourself by temporarily
disabling programmable completion.
--
``
$ help complete
-rremove a completion specification for each NAME, or, if no
NAMEs are supplied, all completion specifications
Add
To later restore them do ...
as one often wants to remove them all, try something, and then put them
all back.
I am no
OK submitted https://github.com/scop/bash-completion/issues/173
On Sun, Nov 5, 2017 at 6:58 PM, 積丹尼 Dan Jacobson
wrote:
> $ help complete
>
> -rremove a completion specification for each NAME, or, if no
> NAMEs are supplied, all completion specifications
>
> Add
> To later restore them do ...
>
> as one often want
PG> There is no magic way to restore them
Actually it also says
-pprint existing completion specifications in a reusable format
So maybe it should say do
I=$(completion -p); completion -r; : your tests; $I
but I didn't test it.
On 11/5/17 11:58 AM, 積丹尼 Dan Jacobson wrote:
> $ help complete
>
> -r remove a completion specification for each NAME, or, if no
> NAMEs are supplied, all completion specifications
>
> Add
> To later restore them do ...
There is no standard way to restore
OK, please on
$ help complete
at "-r" please mention
"To instead toggle on and off PROGRAMMABLE completion, use shopt -[su]
progcomp."
Reason: there is very little chance the user could Google the right
answer out of the forest of answers out there.
(P.S., I am not sure if PROGRAMMABLE should be
$ help shopt
shopt: shopt [-pqsu] [-o] [optname ...]
Set and unset shell options.
Change the setting of each shell option OPTNAME. Without any option
arguments, list all shell options with an indication of whether or not each
is set.
Add:
If just optnames are given, list
On Nov 5, 2017 7:05 PM, "積丹尼 Dan Jacobson" wrote:
$ help shopt
shopt: shopt [-pqsu] [-o] [optname ...]
Set and unset shell options.
Change the setting of each shell option OPTNAME. Without any option
arguments, list all shell options with an indication of whether or not
each
is
OK it mentions "Without any option arguments". Then it also needs to
mention "Without any argument at all".
On Sun, Nov 5, 2017 at 7:01 PM, 積丹尼 Dan Jacobson wrote:
> OK, please on
> $ help complete
> at "-r" please mention
> "To instead toggle on and off PROGRAMMABLE completion, use shopt -[su]
> progcomp."
>
> Reason: there is very little chance the user could Google the right
> answer out of the fore
12 matches
Mail list logo