Skip to content

Commit b3c5336

Browse files
authored
Use current fish path isntead of fish command (#716)
1 parent a4e74bd commit b3c5336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/fisher.fish

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ function fisher --argument-names cmd --description "A plugin manager for Fish"
7272
set --local fetch_plugins $update_plugins $install_plugins
7373
echo (set_color --bold)fisher $cmd version $fisher_version(set_color normal)
7474

75-
for plugin in $fetch_plugins
75+
fish_path=(status fish-path) for plugin in $fetch_plugins
7676
set --local source (command mktemp -d)
7777
set --append source_plugins $source
7878

7979
command mkdir -p $source/{completions,conf.d,functions}
8080

81-
fish --command "
81+
$fish_path --command "
8282
if test -e $plugin
8383
command cp -Rf $plugin/* $source
8484
else

0 commit comments

Comments
 (0)