Hi,
Thanks but I need your feed back ...
On Mon, Apr 24, 2017 at 04:41:06PM +0200, Rock Storm wrote:
> Source: maint-guide
> Severity: minor
>
> Dear Maintainer,
>
> On chapter 3 a couple of lines are given to customize quilt. The second
> one is supposed to give dquilt the same shell completion feature that
> quilt has. However it does not work as expected when auto-completing
> for folders. For instance:
>
> dquilt add src[Tab]
>
> Produces:
>
> dquilt add src
>
> Note that there's a space at the end. Instead it should produce:
>
> dquilt add src/
>
> The following workaround works but it might not be the best solution
> for this.
>
> =======================================================================
> diff --git a/doc/03_modify.xml b/doc/03_modify.xml
> index 5c579d8..73b870a 100644
> --- a/doc/03_modify.xml
> +++ b/doc/03_modify.xml
> @@ -16,7 +16,7 @@ shell completion feature of the
> <command>quilt</command> command to the
> </para>
> <screen>
> alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg"
> -complete -F _quilt_completion $_quilt_complete_opt dquilt
> +complete -F _quilt_completion -o filenames dquilt
> </screen>
> <para>
> Then let's create <filename>~/.quiltrc-dpkg</filename> as follows:
> =======================================================================
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?
> Thanks a lot,
> Rock
>
>
> -- System Information:
> Debian Release: 9.0
> APT prefers unstable
> APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
> Architecture: amd64
> (x86_64)
>
> Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Version of quilt: 0.63-8