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.
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
02-08-2009, 12:19 AM
Matthew Flaschen
zsh: Completion of =command should list all possibilities