Re: [dev] Simple shell with completion

2016-10-12 Thread Kamil CholewiƄski
On Wed, 12 Oct 2016, Evan Gates wrote: > On Wed, Oct 12, 2016 at 7:56 AM, Thomas Levine <_...@thomaslevine.com> wrote: >> Or I guess I could try zsh or bash > > bash completion is very powerful as you can write shell functions to > generate the possible completions based on what is on the comm

Re: [dev] Simple shell with completion

2016-10-12 Thread Evan Gates
On Wed, Oct 12, 2016 at 7:56 AM, Thomas Levine <_...@thomaslevine.com> wrote: > Or I guess I could try zsh or bash bash completion is very powerful as you can write shell functions to generate the possible completions based on what is on the command line so far. That being said you may lose yo

Re: [dev] Simple shell with completion

2016-10-12 Thread Anton Lindqvist
On Wed, Oct 12, 2016 at 02:56:51PM +, Thomas Levine wrote: > For my login shell, I want a sh-compatible shell with the ability to > specify complex completions. As far as I can tell, ksh only supports > completions by command and filename. I want to do things like this, > in tcsh. > > comple

[dev] Simple shell with completion

2016-10-12 Thread Thomas Levine
For my login shell, I want a sh-compatible shell with the ability to specify complex completions. As far as I can tell, ksh only supports completions by command and filename. I want to do things like this, in tcsh. complete {folder,refile,scan,show,next,prev} \ 'C@+*@`folders -fast -recurse