<root> is a bit confusing, only replace $HOME into ~
Long lines (no semantic changes)