mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 00:52:46 +08:00
Add job expansion wrapper for kill
This commit is contained in:
parent
e35983438e
commit
9a9238a253
|
@ -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 New Issue
Block a user