wd5gnr/pathedit

envedit2 doesn't properly handle backslashes

Closed this issue · 1 comments

When using envedit2 or anything that uses it, editing something with \ in it (e.g., PS1='\w$ ' does not correctly pick up the backslashes (envedit does, though).

The answer which I will do soon is to use printf '%q' to quote the ${!1} and then use the quoted version.