On Mon 05 Sep 2005 at 14:17:55 +0200, you wrote:

> X-Loop: [EMAIL PROTECTED]
> Reply-To: Justin Pryzby <[EMAIL PROTECTED]>,
>       [EMAIL PROTECTED]
> Original-Sender: Justin Pryzby <[EMAIL PROTECTED]>
> X-Debian-PR-Message: report 301241
> X-Debian-PR-Package: bash
> X-Debian-PR-Keywords: upstream
> X-Mailer: reportbug 3.8
> X-Virus-Scanned: Symantec AntiVirus Scan Engine
> Delivered-To: [EMAIL PROTECTED]
> X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de (including spamassassin)
> X-Spam-Status: No, hits=0 tagged_above=0 required=3 tests=
> X-Spam-Level: 
> Resent-From: Justin Pryzby <[EMAIL PROTECTED]>
> Resent-To: debian-bugs-dist@lists.debian.org
> Resent-Cc: Matthias Klose <[EMAIL PROTECTED]>
> Resent-Date: Thu, 24 Mar 2005 16:18:05 UTC
> Resent-Message-ID: <[EMAIL PROTECTED]>
> Resent-Sender: Debian BTS <[EMAIL PROTECTED]>
> From: Justin Pryzby <[EMAIL PROTECTED]>
> To: Debian Bug Tracking System <[EMAIL PROTECTED]>
> Subject: Bug#301241: bash: [COMPLETION] alias foo=
> Date: Thu, 24 Mar 2005 11:08:17 -0500
> 
> Package: bash
> Version: 2.05b-24
> Severity: minor
> Tags: upstream
> 
> This applies to bash 2.05b and to 3.0-14.
> 
> If I have an alias foobar, and no other alias foo*, and I type 'alias
> foo<tab>', it complete to 'alias foobar= '.  There are two problems,
> with a single solution.
> 
> Problems
> ========
> 
> 1. There's a space after the equals sign, and if I don't erase it,
> then assigning a new alias to foobar doesn't work; instead, it gets
> the null alias foobar=''.
> 
> 2. The equal sign is bad anyway, since 'alias foobar' is useful on its
> own to find the contents of the foobar alias.
> 
> Solution
> ========
> 
> Include neither an equals nor a trailing space in the completion.

This is partially fixed for the next release.

A single completion will now complete to 'foo=' (i.e. with no space at
the end). A second completion will complete to "foo='content'".

So now you simply delete the '=' if you don't want it, but you don't
have to deal with the space.

Ian
-- 
Ian Macdonald               | New crypt.  See /usr/news/crypt. 
[EMAIL PROTECTED]             | 
http://www.caliban.org/     | 
                            | 
                            | 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to