hi, as the way completion is done with fish is something that prevents me to adopt it fully, I was wondering if someone had worked on other completion models (i still use zsh for this) thanks
raphael On Tue, Mar 27, 2012 at 10:22 AM, Maxim Gonchar <gma...@gmail.com> wrote: >> Yes, I'm willing to maintain it. Well I am in the same situation with >> git (I'm used to svn), but this will be a good opportunity to learn >> :-) >> So, I'm going to clone your repo with the name fish-shell-completions, >> merge all completions I have tested and found stable. Finally when >> everyone thinks it is ok, I'll send a merge request to the official >> repo. I plan to do this on a regular basis. > > Great. > > Please, pay attention to __fish_complete_list and 'call' functions. > > I put __fish_complete_list for example in 'ps' completion. It is useful > for cases when argument is a list of options, separated by comma (or other > separator). > For example: > ps -u ro<tab> > will complete to ps -u root > > then if you put comma and press tab again > ps -u root,<tab> > it will complete it by the list of users again. > I've already added it to some completions (mostly new). > > Call function acts as eval, but doesn't separate quoted strings, so it > safer to use than eval. It's not finished for now and correctly accepts > redirection only as argument, like -r '>/dev/ > null'. > > regards, > Maxim > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users