add direnv
This commit is contained in:
8
shell/clangd-direnv.sh
Executable file
8
shell/clangd-direnv.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if command -v direnv >/dev/null 2>&1; then
|
||||
direnv exec . clangd "$@"
|
||||
else
|
||||
clangd "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user