Starting directory name wrong / inconsistent
iTerm2 3.3.9 on MacOS 10.15.4
In my default profile, I have the working directory set to '/home/ben'. This works as expected: when I open a new window, my shell prompt (which shows the CWD) correctly reports '/home/ben'. All good so far.
However, I have iTerm set up to open some windows on startup, with the same default profile. But all these windows appear with the path showing '/System/Volumes/Data/home/ben'. Yet opening a new tab/window manually will show '/home/ben' again. Very odd!
The 'System/Volumes/Data/home' is understandable, as '/home' is actually a symlink to that location (something to do with how Catalina handles automounts). But in any case, it's odd that iTerm sets the path differently depending upon whether the window is launched at startup or not.
Some clarifications: /System/Volumes/Data/home is actually an nfs mount, if that makes any difference. However, the directory is definitely mounted before iTerm starts up (I can restart iTerm and recreate the problem)
It's a very, very trivial bug, I know! What I'd expect iTerm to do is 1) be consistent - the behavior between startup & later windows shouldn't be different, and 2) as I typed '/home/ben' into the startup directory config field, I'd prefer iTerm to use that path instead of expanding symlinks.
Sorry for the petty bug!