Feature request: tab completion on functions

2018-01-26 Thread Odne Hellebø
I have some functions that are very similar and would like to be able to tabcomplete those. The command is like makeFoodSpaghetti and makeFoodLasagne. I get tabcompletion for make but if the nextletter isn't a capital letter it doesn't work and obviously need to have capital letter for S and L

Re: Feature request: tab completion on functions

2018-01-26 Thread Odne Hellebø
@Chet why wouldn't I be able to execute the result? @Ilkka Virta you nailed it :) I may have been slightly unclear on what I want. I have 2 functions makeFoodSpaghetti and makeFoodLasagne. * ma * makeFood * makeFoodl <- this does nothing * makeFoodL-> expands to

Re: Feature request: tab completion on functions

2018-02-02 Thread Odne Hellebø
it would be better if you stopped at foo and gave the completion options there, then if I wrote b I'd get foobar or B I'd get fooBar. On 1 February 2018 at 21:50, Chet Ramey <chet.ra...@case.edu> wrote: > On 2/1/18 3:40 PM, Odne Hellebø wrote: >> Is it something that you will consider ad

Re: Feature request: tab completion on functions

2018-02-01 Thread Odne Hellebø
Is it something that you will consider adding to bash? I also saw something about the complete inbuilt command, is it possible through that? Just to spur the competition, zsh is able to do it ;) On 29 January 2018 at 15:05, Chet Ramey wrote: > On 1/28/18 8:10 PM, L A Walsh