mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-26 14:01:13 -03:00
Simplify __fish_expand_pid_args
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user