FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-07-2009, 09:22 AM
Roman Odaisky
 
Default zsh: Completion of =command should list all possibilities

Package: zsh
Version: 4.3.4-24ubuntu1
Severity: wishlist

If files with the same name exist in more than one place under PATH,
then =filename<Tab> should list them all.

Currently:

% echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
% whereis cuetag
cuetag: /usr/bin/cuetag /usr/local/bin/cuetag
% file =cuetag‹Tab›
all expansions
[/usr/local/bin/cuetag]
original
=cuetag

After pressing Tab, both locations of the file could have been shown:

% file =cuetag‹Tab›
expansions
[/usr/local/bin/cuetag] /usr/bin/cuetag
all expansions
/usr/local/bin/cuetag /usr/bin/cuetag
original
=cuetag

While such a situation is rather a rare one, it’s likely to cause
confusion whenever it occurs, so it would be quite handy for zsh
to give more information in that case.

-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy-backports'), (500, 'hardy')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-23-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii debconf [debconf-2 1.5.20 Debian configuration management sy
ii libc6 2.7-10ubuntu4 GNU C Library: Shared libraries
ii libncurses5 5.6+20071124-1ubuntu2 Shared libraries for terminal hand
ii libpam-modules 0.99.7.1-5ubuntu6.1 Pluggable Authentication Modules f

Versions of packages zsh recommends:
ii libcap1 1:1.10-14build1 support for getting/setting POSIX.
ii libpcre3 7.4-1ubuntu2.1 Perl 5 Compatible Regular Expressi

-- no debconf information

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 02-08-2009, 12:19 AM
Matthew Flaschen
 
Default zsh: Completion of =command should list all possibilities

Roman Odaisky wrote:
> Package: zsh
> Version: 4.3.4-24ubuntu1
> Severity: wishlist

This is not the right place to file Ubuntu bugs. Use Launchpad
(https://bugs.launchpad.net/)

> If files with the same name exist in more than one place under PATH,
> then =filename<Tab> should list them all.

You are misunderstanding how = works. It is not a wildcard. It expands
to one and only one expression (which may be the original =program).

Matt Flaschen

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 04:29 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org