[Bash-completion-devel] [Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-3-gf96e154

Raph gibboris at gmail.com
Tue Feb 8 10:46:16 UTC 2011


On Mon, Feb 07, 2011 at 10:42:54PM +0200, Ville Skyttä wrote:
> On 02/07/2011 10:14 PM, Guillaume Rousse wrote:
> > Le 07/02/2011 20:01, Ville Skyttä a écrit :
> >> The following commit has been merged in the master branch:
> >> commit d066ace4cbca7f5da611f0fee2497e24e9d84f67
> >> Author: Ville Skyttä <ville.skytta at iki.fi>
> >> Date:   Mon Feb 7 20:59:01 2011 +0200
> >>
> >>     Do file completion after gendiff output redirection.
> >>     
> >>     Common use case is "gendiff DIR EXTENSION > FILE".
> > This ought to be generalized, if possible.
> 
> Agreed, not sure how cleanly it could be implemented though.  Something
> like this as a general fallback at end of each function?
> 
> [[ $prev == *\> ]] && _filedir
> 
> (...plus improvements so that it handles "foo >[TAB]" without a space
> after redirection, the "foo >& [TAB]" syntax etc - probably deserves a
> function of its own.)

and the ">|" operator
+ test of set noclobber
:)



More information about the Bash-completion-devel mailing list