Skip to content

Commit

Permalink
Use current fish path isntead of fish command (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
IlanCosman authored May 26, 2022
1 parent a4e74bd commit b3c5336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/fisher.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3c5336

Please sign in to comment.