diff --git a/conf.d/rustup.fish b/conf.d/rustup.fish index e4cb363..057cbe1 100644 --- a/conf.d/rustup.fish +++ b/conf.d/rustup.fish @@ -1 +1,3 @@ -source "$HOME/.cargo/env.fish" +if test -f "$HOME/.cargo/env.fish" + source "$HOME/.cargo/env.fish" +end diff --git a/conf.d/uv.env.fish b/conf.d/uv.env.fish index d97734b..3eb1b33 100644 --- a/conf.d/uv.env.fish +++ b/conf.d/uv.env.fish @@ -1,2 +1,3 @@ - -source "$HOME/.local/share/../bin/env.fish" +if test -f "$HOME/.local/share/../bin/env.fish" + source "$HOME/.local/share/../bin/env.fish" +end