-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use HOME environment variable, but... #13
Comments
It seems like your use case is pretty unique. I don't think I want to add any specialized logic in this script to support non-standard home directory setups, but feel free to just hard-code your preferred path into the script on your machine. |
Yes, my case is not normal. |
@gotoh Your user profile is at So you should be using that profile only as that is your current user profile. Anything pointing to the old profile is wrong. |
clink's function BTW, My USERPROFILE is gotoh.TAIYO because I already had gotoh as a local account and joined domain:TAIYO with an account with the same name, so it was created separately. |
I think I understand what you mean. Since the special behavior for @gotoh if you can test and send a PR to use |
I've made a PR #14. |
Closed by #14 |
I'm using HOME environment variable to specify my home folder,
not with HOMEDRIVE HOMEPATH or USERPROFILE.
These are all different in my case.
So I made a patch to use HOME prior to USERPROFILE
to cd by execute 'z' with no argument
But by clink's special behaviour,
os.getenv("HOME")
returns:see: https://github.com/chrisant996/clink/blob/ce074165461c8e491602f4980536e8abf8d333d7/clink/core/src/os.cpp#L780
What is good fix to use HOME?
The text was updated successfully, but these errors were encountered: