nodeprompt icon indicating copy to clipboard operation
nodeprompt copied to clipboard

macOS: nodeprompt ignores starting directory set for new window/tab

Open zaak opened this issue 3 years ago • 0 comments

In Terminal application options on mac, you can configure the if the new opened Terminal tab/window should open in the same working directory as the active tab:

Screenshot 2022-10-20 at 13 07 44

For some reason with nodeprompt this option doesn't work and the starting directory is always set to the user's home dir.

Below are two screencasts - in both all the terminal and shell options are the same. The only difference is . nodeprompt-enable-bash entry in .bash_profile.

Without nodeprompt - the new Terminal tab is opened in the same directory as the active tab:

https://user-images.githubusercontent.com/803299/196936371-e310d342-9693-41f7-ba09-1edc25c655ab.mov

With nodeprompt enabled - the new tab is opened in home directory:

https://user-images.githubusercontent.com/803299/196936498-27efe900-3cb7-4b1d-93df-61a6a5453c36.mov

zaak avatar Oct 20 '22 11:10 zaak