Closed pysan3 closed 1 year ago
Hi again.
I use a shared server where there is a shared harddisk mounted at /storage and we use it with a file structure of /storage/home/username.
/storage
/storage/home/username
This contains $HOME (/home/username) but I do not think it should be substituted with ~. (It becomes /storage~.
$HOME
/home/username
~
/storage~
This PR is a quick fix to substitute cwd only if it starts with $HOME.
Thanks for the fix!
Hi again.
I use a shared server where there is a shared harddisk mounted at
/storage
and we use it with a file structure of/storage/home/username
.This contains
$HOME
(/home/username
) but I do not think it should be substituted with~
. (It becomes/storage~
.This PR is a quick fix to substitute cwd only if it starts with
$HOME
.