For some reason tilde expansion in Cygwin is not working for me at the prompt:
$ ls ~
ls: cannot access : No such file or directory
$ ls ~/bin
(lists /bin not $HOME/bin)
$ echo $HOME
/home/myusername
$ echo ~
$
In the last case there (echo ~
) there is no output (other than a couple of blank lines.)
I have set expand-tilde on
set in my $HOME/.inputrc
file. Is there something else I need configured?