mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-26 03:35:17 +00:00
Add job expansion wrapper for kill
This commit is contained in:
parent
e35983438e
commit
9a9238a253
1 changed files with 6 additions and 2 deletions
|
@ -273,12 +273,16 @@ function __fish_expand_pid_args
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function bg --wraps bg
|
||||||
|
builtin bg (__fish_expand_pid_args $argv)
|
||||||
|
end
|
||||||
|
|
||||||
function fg --wraps fg
|
function fg --wraps fg
|
||||||
builtin fg (__fish_expand_pid_args $argv)
|
builtin fg (__fish_expand_pid_args $argv)
|
||||||
end
|
end
|
||||||
|
|
||||||
function bg --wraps bg
|
function kill --wraps kill
|
||||||
builtin bg (__fish_expand_pid_args $argv)
|
command kill (__fish_expand_pid_args $argv)
|
||||||
end
|
end
|
||||||
|
|
||||||
function wait --wraps wait
|
function wait --wraps wait
|
||||||
|
|
Loading…
Reference in a new issue