You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading a per-project development environment using direnv does not appear to work on remote servers. Language server (clangd) is not found when using direnv, while it is found if the same development environment is added globally to the server in the .cshrc file.
I have tested using both direct and shell_hook for the load_direnv option on the server settings.json. The shell hook has been added to the .cshrc file.
Zed.log is the same for both direct and shell_hook. Terminals inside of Zed do have the development environment regardless. I believe this is due to the shell hook in the .cshrc file being run as it would any normal shell.
Server OS is Red Hat Enterprise Linux 9. The server is using a 'tcsh' shell and does not have access to the internet. I am using direnv as a solution to load a local per-project development environment, but please do say if there are other options.
Hope this is helpful. Let me know if there is any more information I can provide. I'd be happy to investigate this more.
Check for existing issues
Describe the bug / provide steps to reproduce it
Loading a per-project development environment using direnv does not appear to work on remote servers. Language server (clangd) is not found when using direnv, while it is found if the same development environment is added globally to the server in the .cshrc file.
I have tested using both
direct
andshell_hook
for theload_direnv
option on the server settings.json. The shell hook has been added to the .cshrc file.Zed.log is the same for both
direct
andshell_hook
. Terminals inside of Zed do have the development environment regardless. I believe this is due to the shell hook in the .cshrc file being run as it would any normal shell.This is the settings.json on the server:
Server OS is Red Hat Enterprise Linux 9. The server is using a 'tcsh' shell and does not have access to the internet. I am using direnv as a solution to load a local per-project development environment, but please do say if there are other options.
Hope this is helpful. Let me know if there is any more information I can provide. I'd be happy to investigate this more.
Environment
Zed: v0.161.1 (Zed Preview)
OS: macOS 15.1.0
Memory: 32 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: