the default home dir of cygwin is incorrect
Version: 1.0.179 Platform: Windows x64 10.0.22000 Plugins: none Frontend: xterm
It thinks my home dir is /cygdrive/c/Users/tjun9
tjun9@thinkbook14p ~
$ cd ~
tjun9@thinkbook14p ~
$ pwd
/cygdrive/c/Users/tjun9
tjun9@thinkbook14p ~
$
but my home dir is /home/tjun9/
tjun9@thinkbook14p ~
$ cd /home/tjun9/
tjun9@thinkbook14p /home/tjun9
$
What is the value of the db_home key in your /etc/nsswitch.conf file?
What happens if you delete or comment out that line, or change it to /home/%U? (You may need to restart all Cygwin processes to see any changes to /etc/nsswitch.conf)
Coming at this from the other side: why does using your Windows home directory as your Cygwin home directory not work for you? Do you need to keep these directories separate? Why?
Duplicate of #6195
What is the value of the
db_homekey in your/etc/nsswitch.conffile?What happens if you delete or comment out that line, or change it to
/home/%U? (You may need to restart all Cygwin processes to see any changes to/etc/nsswitch.conf)Coming at this from the other side: why does using your Windows home directory as your Cygwin home directory not work for you? Do you need to keep these directories separate? Why?
If you are using MSYS2/Cywgin as a temporary workspace, or if you intend to use the same command line tools, such as vim/ssh/git/gdb, in both native windows and MSYS2/Cygwin, it is obviously necessary to separate the $HOME of the different environments in this case.
Another thing: I don't see anything in Tabby's documentation about the program automatically setting the $HOME variable, and I don't find anything about it on Tabby's settings page, so this should be considered an undocumented feature.