Description of problem: When the environment variable $HOME is unset, bash can still expand ~ to current user's home path. But guestfish cannot. Version-Release number of selected component (if applicable): 1.3.21 How reproducible: Always Steps to Reproduce: $ unset HOME $ echo ~ /root $ guestfish <<EOF echo ~ EOF ~ Actual results: ~ Expected results: /root Additional info: It would be nice to try expanding ~ from the host's passwd file when HOME is unset.
Fixed upstream in commit 7ce627fce02eae8c7db36b4090fa0ce1bf69bf44.