[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash, directory name completion and $CDPATH
From: |
Goetz Waschk |
Subject: |
bash, directory name completion and $CDPATH |
Date: |
Fri, 15 Mar 2002 13:12:29 +0100 |
User-agent: |
Mutt/1.3.27i |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linu
x-gnu' -DCONF_MACHTYPE='i686-mandrake-linux-gnu' -DCONF_VENDOR='mandrake'
-DSHEL
L -DHAVE_CONFIG_H -D_GNU_SOURCE -I. -I. -I./include -I./lib -O3
-fomit-frame-
pointer -pipe -mcpu=pentiumpro -march=i686 -ffast-math -fno-strength-reduce
-g
uname output: Linux abgrund.de 2.4.18-5mdk #1 Sat Mar 9 08:48:05 CET 2002
i686 u
nknown
Machine Type: i686-mandrake-linux-gnu
Bash Version: 2.05a
Patch Level: 0
Release Status: release
Description:
Hi everyone,
I have a problem with bash and the directory name completion. I'm
using the bash-completion script from
http://www.caliban.org/bash/. That scripts offer directory name
completion on pressing <TAB>, even for directories in $CDPATH. The bad
thing: bash adds a space after that directory names, so it's not as
useful as the normal directory name completion with a / after the
name. The author of the bash-completion script said it's a shortcoming
of bash and I could report that to you.
Repeat-By:
[goetz@abgrund goetz]$ echo $CDPATH
.:/home/goetz/RPM
[goetz@abgrund goetz]$ cd BUILD
/home/goetz/RPM/BUILD
[goetz@abgrund BUILD]$
after typing B<TAB> the completion script completes it to BUILD_ with
_ as a space character. So if I want to change to a dir under BUILD I
have to delete the space, type a / and press <TAB> again.
--
Götz Waschk <> student of computer science <> university Rostock
http://www.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
--> Logout Fascism! <--
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bash, directory name completion and $CDPATH,
Goetz Waschk <=