Re: help complete: mention remove all AND restore all

2017-11-10 Thread 積丹尼 Dan Jacobson
> "EB" == Eduardo Bustamante writes: EB> I googled "disable programmable completion bash" and the first result I was just googling for disable bash completion. That's how confusing it is for most users.

Re: help complete: mention remove all AND restore all

2017-11-06 Thread Chet Ramey
On 11/5/17 11:23 PM, Eduardo Bustamante wrote: > The manual is not supposed to have direct answers to all the possible > questions the user might have. That would just make the manual larger > (it is huge already) and unreadable. It's even less reasonable to put it in the `help' output, which is

Re: help complete: mention remove all AND restore all

2017-11-05 Thread Eduardo Bustamante
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

Re: help complete: mention remove all AND restore all

2017-11-05 Thread 積丹尼 Dan Jacobson
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

Re: help complete: mention remove all AND restore all

2017-11-05 Thread Chet Ramey
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

Re: help complete: mention remove all AND restore all

2017-11-05 Thread 積丹尼 Dan Jacobson
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.

Re: help complete: mention remove all AND restore all

2017-11-05 Thread Pierre Gaston
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

help complete: mention remove all AND restore all

2017-11-05 Thread 積丹尼 Dan Jacobson
$ 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