feat: Support custom install dir

ref: issue #34
This commit is contained in:
Raphael Reitzig 2023-06-27 00:02:25 +02:00
parent 4c15f15ced
commit 66e2f1e623
3 changed files with 16 additions and 9 deletions

View file

@ -1,11 +1,11 @@
# Defines autocompletion for SDKMAN!
# Copyright (c) 2018 Raphael Reitzig
# Copyright (c) 2018-2022 Raphael Reitzig
# MIT License (MIT)
# https://github.com/reitzig/sdkman-for-fish
# Guard: SDKMAN! needs to be installed
if not test -f "$HOME/.sdkman/bin/sdkman-init.sh"
if not test -f "$SDKMAN_DIR/bin/sdkman-init.sh"
exit 0
end