cd $variable has an unexpected behaviour
bug: When cd'ing to a variable of the form ~/path/to/dir
, ion evaluates this as cd $HOME/~/path/to/dir
code:
let awesomeconf = '~/.config/awesome'
echo $awesomeconf
cd $awesomeconf
pwd
expect:
~/.config/awesome
/home/name/.config/awesome
got:
~/.config/awesome
failed to set current dir to /home/name/~/.config/awesome: No such file or directory (os error 2)
kernel: linux5.4
version: 63d1bf76
Edited by Dario Goedtkindt