From bcf231137714232ce8cba65928abf663a5c1873a Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 14 Nov 2021 20:29:58 +0100 Subject: [PATCH] search for correct file --- installJava.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJava.sh b/installJava.sh index 2d91629..c891ca3 100644 --- a/installJava.sh +++ b/installJava.sh @@ -7,7 +7,7 @@ source "$HOME/.sdkman/bin/sdkman-init.sh" # Adding Fish support if fish is installed if [ -x $HOME/.config/fish ] ; then - if [ ! -x $HOME/.config/fisher ] ; then # Install fisher if not installed + if [ ! -f $HOME/.config/fish/functions/fisher.fish ] ; then # Install fisher if not installed curl -sL https://git.io/fisher | fish -c 'source && fisher install jorgebucaran/fisher' fi fish -c 'fisher install reitzig/sdkman-for-fish'