mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
fix: use universal scope for fish_user_paths (#1699)
Co-authored-by: James Hegedus <jthegedus@hey.com>
This commit is contained in:
parent
19515eda3b
commit
0ffee7224b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user