envedit2 doesn't properly handle backslashes
Closed this issue · 1 comments
wd5gnr commented
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).
wd5gnr commented
The answer which I will do soon is to use printf '%q' to quote the ${!1} and then use the quoted version.