Re: `set completion-ignore-case on' does not work well for the first word on command line

2008-02-16 Thread Chet Ramey
Jian Wang wrote: When using Bash, I often turn on the `completion-ignore-case' option of readline. It works fine for most cases but sometimes it does not work as expected when completing the first word on the command line. For example, there is a bash script ~/MyDir/Foo.sh, on command line, when

Re: why does cd change DIRSTACK?

2008-02-16 Thread Micha Wiedenmann
Chet Ramey schrieb: I don't understand why cd changes DIRSTACK. From the manpage I got the impression that only pushd and popd change DIRSTACK (besides dir -c). The current directory is always the first entry in the directory stack (index 0). As such, cd will always change it. Is there anyon