From 4d7b4a744d60e168ea1bcff87d983093ae59269a Mon Sep 17 00:00:00 2001 From: Uyanide Date: Sat, 17 Jan 2026 00:54:34 +0100 Subject: [PATCH] fix fnm env --- config/shell/.bash_profile | 8 ++++---- config/shell/.config/fish/conf.d/10-env.fish | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/shell/.bash_profile b/config/shell/.bash_profile index 70607f1..fe21b6c 100644 --- a/config/shell/.bash_profile +++ b/config/shell/.bash_profile @@ -40,14 +40,14 @@ fi # Paths [ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env" -[ -d "$HOME/go/bin" ] && prepend_path "$HOME/go/bin" -[ -d "$HOME/.local/bin" ] && prepend_path "$HOME/.local/bin" -[ -d "$HOME/.local/scripts" ] && prepend_path "$HOME/.local/scripts" +prepend_path "$HOME/go/bin" +prepend_path "$HOME/.local/bin" +prepend_path "$HOME/.local/scripts" +prepend_path "$HOME/.local/share/fnm" export PATH # fnm if type fnm &>/dev/null; then - prepend_path "$HOME/.local/share/fnm" eval $(fnm env --shell bash) fi diff --git a/config/shell/.config/fish/conf.d/10-env.fish b/config/shell/.config/fish/conf.d/10-env.fish index 2797c98..30285da 100644 --- a/config/shell/.config/fish/conf.d/10-env.fish +++ b/config/shell/.config/fish/conf.d/10-env.fish @@ -3,6 +3,7 @@ fish_add_path $HOME/go/bin fish_add_path $HOME/.cargo/bin fish_add_path $HOME/.local/scripts fish_add_path $HOME/.local/bin +fish_add_path $HOME/.local/share/fnm # man if type -q bat @@ -29,6 +30,5 @@ set -x -g GPG_TTY (tty) # fnm if type -q fnm - fish_add_path $HOME/.local/share/fnm eval (fnm env --shell fish) end