When I open Visual Studio Code's integrated terminal on macOSX it defaults to my home ~/
directory rather than the current project root.
I've been through the settings and there isn't anything obvious I've done from the defaults, and reverting all "terminal.integrated.*"
settings doesn't rectify the problem..
What am I missing?
Searching the closed GitHub issues turned up this comment from Tyriar :
It looks like you're using bash, this definitely works just fine. I suspect you are doing a
cd
orpushd
in your~/.bash_profile
or~/.bashrc
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.