'\@' not being escaped properly in prompt
Created by: covercash2
Reproduction:
in initrc:
fn PROMPT
printf "username\@$(hostname)"
end
outputs:
username
Expected behavior:
expected output:
username@host
Build information: ion 1.0.5 (x86_64-apple-darwin) rev 22244125
rustc 1.24.0-nightly (c8ddf2852 2017-12-07)
Misc
i tested the same input in my Debian VM and was unable to reproduce the bug. so, AFAIK, this is a macOS bug.
ion 1.0.5 (x86_64-unknown-linux-gnu) rev c6bdc75c
rustc 1.24.0-nightly (c8ddf2852 2017-12-07)