u/NorskJesus

▲ 0 r/neovim

Zsh alias LSP problem

Hello everybody!

I have tried for like 1-2 hours and I do not know the reason, so I come here to you guys who are more experienced than me.

I have an alias in my `.zshrc` file to have instant access to the file from whatever I am. Like:

`alias config='nvim ~/.dotfiles/.zshrc'`

The problem is that my bashls is not activated using the alias, but if I `cd` to the directory first and then open the file, it works as expected. Why is that?

I suspect it is because of the `pwd`, but I am not really sure.

Anyone who can come with a solution?

Thanks!

reddit.com
u/NorskJesus — 16 hours ago