Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
fix: make fish shell setup match other shells (#1209)
Browse files Browse the repository at this point in the history
The asdf.sh file only sets `ASDF_DIR` if it hasn't already been set. This change to the fish file has it do the same.
  • Loading branch information
sjml authored Apr 21, 2022
1 parent 77fd510 commit 6fc4bb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion asdf.fish
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
set -x ASDF_DIR (dirname (status -f))
if not set -q ASDF_DIR
set -x ASDF_DIR (dirname (status -f))
end

set -l asdf_user_shims (
if test -n "$ASDF_DATA_DIR"
Expand Down

0 comments on commit 6fc4bb8

Please sign in to comment.