02.07.2011 3:40, Yonggang Luo пишет:
> 2011/7/1 Alexander Belchenko <email address hidden>
>
>> Some Windows versions has home, others HOMEDRIVE and HOMEPATH. I think
>> it's a duty of cygwin to provide an approriate HOME environment
>> variable.
>>
>> So, possible workarounds:
>>
>> * set environment variable set HOME=%HOMEDRIVE%%HOMEPATH% (you can add
>> such varibale via System Settings to a single user only or for all users
>>
>> * OR set environment variable set BZR_SSH_paramiko and don't use
>> cygwin's ssh
>>
>> Sorry, I've tried HOME=%HOMEDRIVE%%HOMEPATH%, but not working!
What's not working? It works for me as expected:
C:\Documents and Settings\F1>set HOME
HOME=C:\Documents and Settings\F1
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\F1
02.07.2011 3:40, Yonggang Luo пишет: %%HOMEPATH% (you can add %%HOMEPATH% , but not working!
> 2011/7/1 Alexander Belchenko <email address hidden>
>
>> Some Windows versions has home, others HOMEDRIVE and HOMEPATH. I think
>> it's a duty of cygwin to provide an approriate HOME environment
>> variable.
>>
>> So, possible workarounds:
>>
>> * set environment variable set HOME=%HOMEDRIVE
>> such varibale via System Settings to a single user only or for all users
>>
>> * OR set environment variable set BZR_SSH_paramiko and don't use
>> cygwin's ssh
>>
>> Sorry, I've tried HOME=%HOMEDRIVE
What's not working? It works for me as expected:
C:\Documents and Settings\F1>set HOME
HOME=C:\Documents and Settings\F1
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\F1