From b3c533648079d54d2eeedfe4164e26bdffe13e06 Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Wed, 25 May 2022 20:32:04 -0700 Subject: [PATCH] Use current fish path isntead of fish command (#716) --- functions/fisher.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/fisher.fish b/functions/fisher.fish index 6407479..c58677f 100644 --- a/functions/fisher.fish +++ b/functions/fisher.fish @@ -72,13 +72,13 @@ function fisher --argument-names cmd --description "A plugin manager for Fish" set --local fetch_plugins $update_plugins $install_plugins echo (set_color --bold)fisher $cmd version $fisher_version(set_color normal) - for plugin in $fetch_plugins + fish_path=(status fish-path) for plugin in $fetch_plugins set --local source (command mktemp -d) set --append source_plugins $source command mkdir -p $source/{completions,conf.d,functions} - fish --command " + $fish_path --command " if test -e $plugin command cp -Rf $plugin/* $source else