mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Use jobs --last --pid instead of $last_pid (#608)
This commit is contained in:
parent
f7c347b5d0
commit
f091c22c60
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ function fisher -a cmd -d "fish plugin manager"
|
|||
test ! -e $source && exit
|
||||
command mv -f (string match --entire --regex -- \.fish\\\$ $source/*) $source/functions 2>/dev/null" &
|
||||
|
||||
set -a pid_list $last_pid
|
||||
set -a pid_list (jobs --last --pid)
|
||||
end
|
||||
|
||||
wait $pid_list 2>/dev/null
|
||||
|
|
Loading…
Reference in a new issue