From 560e186f78db420b2284ec0994c6d96db5139a27 Mon Sep 17 00:00:00 2001 From: Karsten Hachmeister Date: Fri, 19 Jan 2024 16:40:06 +0100 Subject: [PATCH] add fnm environment again to config.fish --- .config/fish/config.fish | 1 + .profile | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 4334408..023c07e 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -23,6 +23,7 @@ if status is-interactive # fnm if command -q fnm + fnm env --use-on-cd | source fnm completions --shell fish | source end diff --git a/.profile b/.profile index b8b2c28..c7babaf 100644 --- a/.profile +++ b/.profile @@ -30,11 +30,6 @@ export GOPATH="$HOME/.local/lib/go" add_path "$GOPATH/bin" -# add fnm path and environment variables -if [[ -x "$(command -v fnm)" ]]; then - eval "$(fnm env --use-on-cd)" -fi - # add cargo/rust bin to path add_path "$HOME/.cargo/bin"