Skip to content

Commit

Permalink
fix: use universal scope for fish_user_paths (#1699)
Browse files Browse the repository at this point in the history
Co-authored-by: James Hegedus <[email protected]>
  • Loading branch information
bakotaco and jthegedus authored Jan 10, 2024
1 parent 19515ed commit 0ffee72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asdf.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ffee72

Please sign in to comment.