Re: ksh complete_command for commands with "-" in name

2020-01-17 Thread Uwe Werler
On 18 Jan 00:27, Andreas Kusalananda Kähäri wrote: > On Fri, Jan 17, 2020 at 10:41:30PM +, Uwe Werler wrote: > > On 17 Jan 22:32, Ottavio Caruso wrote: > > > On Fri, 17 Jan 2020 at 22:03, Uwe Werler wrote: > > > > > > > > Hi misc, > > > > > > > > I use heavily the feature to set command comple

Re: ksh complete_command for commands with "-" in name

2020-01-17 Thread Andreas Kusalananda Kähäri
On Fri, Jan 17, 2020 at 10:41:30PM +, Uwe Werler wrote: > On 17 Jan 22:32, Ottavio Caruso wrote: > > On Fri, 17 Jan 2020 at 22:03, Uwe Werler wrote: > > > > > > Hi misc, > > > > > > I use heavily the feature to set command completion in ksh. Unfortunately > > > this doesn't work for commands w

Re: ksh complete_command for commands with "-" in name

2020-01-17 Thread Uwe Werler
On 17 Jan 22:32, Ottavio Caruso wrote: > On Fri, 17 Jan 2020 at 22:03, Uwe Werler wrote: > > > > Hi misc, > > > > I use heavily the feature to set command completion in ksh. Unfortunately > > this doesn't work for commands with "-" (like ssh-add, salt-call etc.) in > > command name because the par

Re: ksh complete_command for commands with "-" in name

2020-01-17 Thread Ottavio Caruso
On Fri, 17 Jan 2020 at 22:03, Uwe Werler wrote: > > Hi misc, > > I use heavily the feature to set command completion in ksh. Unfortunately > this doesn't work for commands with "-" (like ssh-add, salt-call etc.) in > command name because the parameter name for the array is invalid. I'm not sure

ksh complete_command for commands with "-" in name

2020-01-17 Thread Uwe Werler
Hi misc, I use heavily the feature to set command completion in ksh. Unfortunately this doesn't work for commands with "-" (like ssh-add, salt-call etc.) in command name because the parameter name for the array is invalid. Any idea to work around that or plans to allow at least "-" when paramet