mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-24 21:07:11 -07:00
fix: Put hacked init script where fisher installs stuff
This changed with fisher 4; we now copy their exact code that determines where to put functions.
This commit is contained in:
parent
e4e94a2653
commit
063579dc66
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,10 @@
|
|||
# https://github.com/reitzig/sdkman-for-fish
|
||||
|
||||
set __fish_sdkman_init "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
set __fish_sdkman_noexport_init "$HOME/.config/fisher/github.com/reitzig/sdkman-for-fish/sdkman-noexport-init.sh"
|
||||
|
||||
# Copied from https://github.com/jorgebucaran/fisher/blob/main/functions/fisher.fish to be consistent:
|
||||
set --query fisher_path || set --local fisher_path $__fish_config_dir
|
||||
set __fish_sdkman_noexport_init "$fisher_path/functions/__sdkman-noexport-init.sh"
|
||||
|
||||
# Guard: SDKMAN! needs to be installed
|
||||
if not test -f "$__fish_sdkman_init"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue