[conspire] curious behavior of bash completion when there's a character that needs to be escaped e.g. $

Alex Kleider akleider at sonic.net
Wed Jan 15 18:08:18 PST 2020


On 2020-01-15 14:40, Rick Moen wrote:
> Quoting Peter Knaggs (peter.knaggs at gmail.com):
> 
>> and I type in the following command:
>> cp $HOME/Downloads/CSA
> 
> I'm delighted you found the answer to this conundrum via search, but
> personally I prefer tilde expressions for homedirs, anyway; fewer
> characters.

Another thing to consider:
   ${HOME}/Downloads/...
is in some situations necessary and doesn't hurt[1] in situations it 
isn't.

[1] Unless you find extra typing hurts, which many do:-)




More information about the conspire mailing list