mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
Simplify __fish_expand_pid_args
This commit is contained in:
parent
1b0ec21773
commit
54d580cf94
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue