Simplify __fish_expand_pid_args

This commit is contained in:
Fabian Homborg 2020-03-27 23:51:02 +01:00
parent 1b0ec21773
commit 54d580cf94

View file

@ -246,9 +246,7 @@ __fish_reconstruct_path
function __fish_expand_pid_args
for arg in $argv
if string match -qr '^%\d+$' -- $arg
# set newargv $newargv (jobs -p $arg)
jobs -p $arg
if not test $status -eq 0
if not jobs -p $arg
return 1
end
else