search for correct file

This commit is contained in:
Mylloon 2021-11-14 20:29:58 +01:00
parent df757442a9
commit bcf2311377

View file

@ -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'