Hi,
I having trouble using vscode when starting it from rofi. When I do so, I’m having notification error telling me that vscode was not able to find a program called ocaml-lsp-server which is installed via opam (opam is sourced in my .zshrc).
When I start vscode from a terminal it works fine and ocaml-lsp-server is found correctly.
I’m not sure about why it does not work from rofi, any idea ?
Edit: opam does not seems to be in th PATH when I open vscode, so my .zshrc is not loaded ?
Edit 2: I’m starting sway with the command : /usr/bin/zsh -l -c sway from sway.desktop file in wayland-sessions. So I have no clue about why .zshrc is not loaded…
Thanks