From 53276973f7c99695cd9a28b04c010b006d7f60ca Mon Sep 17 00:00:00 2001 From: Bas Kok Date: Thu, 18 Jan 2024 02:27:09 +0100 Subject: [PATCH] fix(fish): use PATH instead of fish_user_paths (#1709) --- asdf.fish | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/asdf.fish b/asdf.fish index 0a680cb5..20024eff 100644 --- a/asdf.fish +++ b/asdf.fish @@ -11,12 +11,12 @@ else end # Do not use fish_add_path (added in Fish 3.2) because it -# potentially changes the order of items in fish_user_paths -if not contains $_asdf_bin $fish_user_paths - set --universal --prepend fish_user_paths $_asdf_bin +# potentially changes the order of items in PATH +if not contains $_asdf_bin $PATH + set -gx --prepend PATH $_asdf_bin end -if not contains $_asdf_shims $fish_user_paths - set --universal --prepend fish_user_paths $_asdf_shims +if not contains $_asdf_shims $PATH + set -gx --prepend PATH $_asdf_shims end set --erase _asdf_bin set --erase _asdf_shims