mirror of https://github.com/sgoudham/neovide.git
Invoke user's login shell to load proper WSL $PATH
In Linux, custom changes to the $PATH are usually defined in ~/.profile, ~/.bash_profile, ~/.zprofile, etc. These files are only loaded by a 'login shell', which can be explicitly invoked with the -l flag. Most shells (bash, dash, zsh, fish) support this -l flag. This commit uses the $SHELL env var to invoke the user's default shell with the -l flag to force a login shell. This should properly load any custom $PATH settings defined by the WSL user. This is a potential fix for #693macos-click-through
parent
55179e43c3
commit
3be5de6874
Loading…
Reference in New Issue