Skip to content

Commit

Permalink
fix: use PATH instead of fish_user_paths
Browse files Browse the repository at this point in the history
  • Loading branch information
bakotaco committed Jan 16, 2024
1 parent 3b8f400 commit bdde17a
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/asdf.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/aws.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions asdf.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdde17a

Please sign in to comment.