Skip to content

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 committed 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
@@ -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.