[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: req for fix: Completion: inconsistent case correction and '/' append
Re: req for fix: Completion: inconsistent case correction and '/' appending(for dirs)
Fri, 08 Jun 2012 09:37:19 -0700
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:126.96.36.199) Gecko/20100228 Lightning/0.9 Thunderbird/188.8.131.52 Mnenhy/0.7.6.666
Chet Ramey wrote:
On 5/31/12 3:56 PM, Linda Walsh wrote:
if I type in a path:
ls -d /share/doc/new<tab>, bash displays:
ls /share/doc/New\ Folder
Pressing 'Enter' gets:
ls: cannot access /share/doc/New Folder: No such file or directory
ls /share/Doc/New\ Folder/ (<enter>)
Let me fill in some of the missing pieces so this makes sense to everyone.
I'll make some assumptions because you don't say anything about the version
of bash you're using.
GNU bash, version 4.2.10(1)-release (x86_64-suse-linux-gnu)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
You have enabled the `dirspell' shell option, which causes the directory
rewrite part of completion to perform spelling correction like the cd
You don't have the `direxpand' shell option enabled, which would have
replaced the directory name with the corrected version.
I've never seen a direxpand... where do I set it?
Is there a similar command to list out my inputrc commands? (other than dumping
the .inputrc? (it's sorta messy, but I don't see a direxpand there either)...
Shouldn't I see a direxpand option above and see it set to off?