replace home path with ~