Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completed filenames quoted instead of escaped?
On Oct 23, 5:39pm, Peter Stephenson wrote:
} Subject: Re: Completed filenames quoted instead of escaped?
}
} On Sat, 22 Oct 2011 17:25:43 +0000 (UTC)
} Daniel <quite@xxxxxxxx> wrote:
} > I would like completed and expanded filenames to generally "be quoted"
} > instead\ of\ escaped. Would that be possible? If find that more readable.
}
} If you type " before a filename, it will be completed in double quotes
} and (when possible) another " added at the end. It's not possible to
} configure it to add a double quote in front only when needed.
I seem to recall writing a widget that would insert a quote, then do
completion, and then if nothing changed remove the quote again. Oh,
yes:
Functions/Zle/quote-and-complete-word
Search the zsh-users archives for "completion;quote" and you should
find a couple of threads from 2010 discussing this.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author