Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[completion] GDB completion bug
- X-seq: zsh-workers 47596
- From: Arusekk <arek_koz@xxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [completion] GDB completion bug
- Date: Sun, 22 Nov 2020 23:39:53 +0100
- Archived-at: <https://zsh.org/workers/47596>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-11/3f0884a6-18f8-4d0d-2bae-e9ac3f3636ba%40o2.pl>
- Authentication-results: zsh.org; iprev=pass (mx-out.tlen.pl) smtp.remote-ip=193.222.135.158; dkim=pass header.d=o2.pl header.s=1024a header.a=rsa-sha256; dmarc=pass header.from=o2.pl; arc=none
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1606084737; bh=VWasJ/31uyD4iuxODPxMsUVCAxGrr1Y5FH6KsXYvFlE=; h=To:From:Subject; b=VhM9hg+nIbBjCzMamdDifsWDPv5zXWDD1Vn6y+H+JxlWALVNCC+4/PfdSaDJheExo KaQSFB2Fjx6jsswrT+KiJFLgWn27jIqroYFg8qetFdqIzG8R9a9AtldR5v5KuBVXcD dRcSwgFLCqAn66JLv+IePjZakPMzFw1xc/Dry1vc=
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- Sender: zsh-workers-request@xxxxxxx
Hello!
This is my first time with zsh development, so I hope I will not miss
anything. I am using zsh 5.8 shipped with Gentoo, no patches.
I use oh-my-zsh with plugins=(tig gitfast colored-man-pages colorize
command-not-found cp dirhistory autojump sudo fast-syntax-highlighting
zsh-autosuggestions)
and ZSH_THEME="powerlevel10k/powerlevel10k" and no further
customisations, but I hope this is irrelevant, just activates the
completion functions.
The bug is not critical in any way, but just happens in the following
setting:
zsh-5.8% gdb (cursor here) -h
Then it is enough to hit Tab. The -h can be any other option, or even a
file name, not really important, but there has to be space before
cursor, and after it (I guess so).
This is the error message:
_pids:shift:13: shift count must be <= $#
_pids:compadd:42: bad option: -m
I traced it down to most probably
/usr/share/zsh/5.8/functions/Completion/Unix/_gdb calling _pids, but I
do not know enough of zsh completion to investigate more.
Glad to have found a bug in such reliable software!
Arusekk
Messages sorted by:
Reverse Date,
Date,
Thread,
Author