From 0ffee7224bc00a917ceaea689c6268fd1f03bd62 Mon Sep 17 00:00:00 2001 From: Bas Kok Date: Wed, 10 Jan 2024 13:25:11 +0100 Subject: [PATCH] fix: use universal scope for fish_user_paths (#1699) Co-authored-by: James Hegedus --- asdf.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asdf.fish b/asdf.fish index 6f7a3050..0a680cb5 100644 --- a/asdf.fish +++ b/asdf.fish @@ -13,10 +13,10 @@ 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 --global --prepend fish_user_paths $_asdf_bin + set --universal --prepend fish_user_paths $_asdf_bin end if not contains $_asdf_shims $fish_user_paths - set --global --prepend fish_user_paths $_asdf_shims + set --universal --prepend fish_user_paths $_asdf_shims end set --erase _asdf_bin set --erase _asdf_shims