bug-bash
[Top][All Lists]
Advanced

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

Re: cd completion using aliased cd command


From: Linda Walsh
Subject: Re: cd completion using aliased cd command
Date: Tue, 16 Jul 2013 21:40:53 -0700
User-agent: Thunderbird



Oh... you are quoting spaces...cygwin...Win...sorry, took a bit...
in the midst of my own MS-induced distraction...(last updates made
sys non-bootable and broke sys-restore).  No recent backups,
so reinstall new, and trying to restore old settings from old
registry... oh what fun -- I am posting from it, so ... but many
things have problems due to account#'s changing...)

anyway... why the need? er.
if I type cd <`-complete>  (isn't it just <complete> -- and whatever char
                            is assigned to it?)... sorry, using
                            backquote for the nonce to get around another
                            bash-prob introed in bash4:
'no_empty_line_completion' became no_empty_cmd_completion)

It just fills in the line with a dirname: Program\ Files
or if I started it with quotes: "Program Files" (it will use
the quoted form and not backslash)... So how would what you are
doing work differently?

I.e. I'm guessing you put in the alias to try to wrap spaces
with the quotes in the function?

BTW -- did you just update from bash 3.x to 4.x?

Alot of things changed from 3.x to 4.x in order to
change to the new requirements of the "desciptive"[sic]
new POSIX standard(s)...



reply via email to

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