On Tue, 2017-04-25 at 22:05 +0900, Osamu Aoki wrote:
> I copied from quilt .... let's see 
> 
> /etc/bash_completion.d/quilt has:
> 
> [ ${BASH_VERSINFO[0]} '>' 2 -o \
>   ${BASH_VERSINFO[0]}  =  2 -a ${BASH_VERSINFO[1]} '>' 04 ] \
> && _quilt_complete_opt="-o filenames"
> complete -F _quilt_completion $_quilt_complete_opt quilt
> 
> 
> Maybe I should follow this ...  Your comment?

Well, since the oldest version of bash in Debian is 4.1, it seems
'__quilt_complete_opt' is always going to be equal to "-o filenames". I
don't see a reason to keep the conditionals. However, I'm no expert.
Probably the "safest" option is to simply replicate quilt's code.

Martin, could you give us a hand here?

Thanks a lot,
Rock

Reply via email to