Have the terminal open in the cwd.
meuter opened this issue · 3 comments
Hi
Is your feature request related to a problem? Please describe.
When calling :Ttoggle
or :Topen
, the shell always opens in my home directory regardless of what the cwd is.
Describe the solution you'd like
I would like a way to have it open in cwd (which is set to the root of my git project by vim-rooter
in my case)
Describe alternatives you've considered
- I've read the docs, but I could not find anything that could help me with that.
- I've looked through the issues but again no luck
Additional context
- Windows 10 with Ubuntu 20.04 WSL
- neovim v0.4.3 (installed from Ubuntu repo)
Thanks!
I just want to add that this seems to be specific to WSL. On a linux server that I ssh into, Ttoggle()
opens a terminal in the cwd by default as I would have expected. So I guess there's something specific to WSL/Windows that is making neoterm to behave differently.
Tested on debian buster using neovim 0.4.4 (AppImage).
I looked a bit further into this and it was one of my zsh plugin that was behaving badly in WSL. Once removed, Ttoggle()
behaves exactly like on linux. My bad 😅
better-npm-completion was the culprit in my case, just in case anyone finds this helpful