From effce2b63fb100f544211ab491fa473e9bac9107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Tue, 4 Nov 2025 21:54:41 +0100 Subject: [PATCH] fix: zed settings --- .config/zed/settings.json | 4 +++- .zshrc | 11 +++++++---- ecosystem.config.js | 9 --------- 3 files changed, 10 insertions(+), 14 deletions(-) delete mode 100644 ecosystem.config.js diff --git a/.config/zed/settings.json b/.config/zed/settings.json index 03329ab2..6cdc84bc 100644 --- a/.config/zed/settings.json +++ b/.config/zed/settings.json @@ -225,7 +225,9 @@ "Universal LSP": { "command": "/home/valknar/.local/bin/universal-lsp", "args": ["acp"], - "env": {} + "env": { + "CLAUDE_TIMEOUT_MS": "180000" + } } } } diff --git a/.zshrc b/.zshrc index cd37436b..19093f3e 100644 --- a/.zshrc +++ b/.zshrc @@ -31,6 +31,13 @@ if [ -d "$HOME/node_modules/.bin" ]; then export PATH="$PATH:$HOME/node_modules/.bin" fi +# Source .env file early to export environment variables +if [ -f "$HOME/.env" ] ; then + set -a + source "$HOME/.env" + set +a +fi + if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then @@ -54,10 +61,6 @@ if [ -s "$HOME/.cargo/env" ] ; then . "$HOME/.cargo/env" fi -if [ -s "$HOME/.env" ] ; then - export $(cat "$HOME/.env" | xargs) -fi - if command -v oh-my-posh 2>&1 >/dev/null; then eval "$(! oh-my-posh init zsh --config=~/worker.omp.json)" fi diff --git a/ecosystem.config.js b/ecosystem.config.js deleted file mode 100644 index 850b233f..00000000 --- a/ecosystem.config.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = { - apps: [ - { - name: "language-server", - script: - "./node_modules/@github/copilot-language-server/dist/language-server.js", - }, - ], -};