Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 10:24:29 +0100
From:      Volker Stolz <vs@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   shells/bash-completion and gdb
Message-ID:  <20041112092429.GD8255@i2.informatik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help
Can somebody help me finding out why bash-completion doesn't really work
for "gdb foo <tab>"? I only get:

$> gdb foo <TAB>ps: comm: keyword not found

I tracked this down to the following bit in /u/l/etc/bash-completion:

$> ps axo comm,pid | awk '{if ($1 ~ /^'$prev'/) print $2}'
ps: comm: keyword not found

Changing this to "command,pid" solves the problem, but doesn't seem to
do anything useful.

Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041112092429.GD8255>