Use jobs --last --pid instead of $last_pid (#608)

pull/627/head
Jorge Bucaran 4 years ago
parent f7c347b5d0
commit f091c22c60
No known key found for this signature in database
GPG Key ID: E54BA3C0E646DB30

@ -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…
Cancel
Save