bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

completion command and subdirectory competition


From: Dan Jacobson
Subject: completion command and subdirectory competition
Date: 28 Oct 2001 06:05:13 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Bash might have its priorities backwards:
$ which wwwoffle-chunks|xargs ls -l
-rwxr-xr-x    2 jidanni  jidanni      3324 10 24 08:19 
/home/jidanni/bin/wwwoffle-chunks
$ ls -ld wwwoffle-chunks 
drwxr-xr-x    2 jidanni  jidanni      4096 10 25 23:37 wwwoffle-chunks/
$ ww<TAB>
$ wwwoffle-chunks/

Tab completion, at item one [cursor leftmost on an [fresh, empty,
usually] command line] in the case where one has the same name on the
PATH and as a subdirectory in the current directory, would much more
helpfully complete as the command name instead of the subdirectory
[with appended / that must then be removed each time one wants to use
the command.]
Bash 2.05
-- 
http://www.geocities.com/jidanni Tel+886-4-25854780



reply via email to

[Prev in Thread] Current Thread [Next in Thread]