From 9a9238a253e57ffa08f71e39b2a87a3034f92071 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sat, 14 Apr 2018 21:17:23 -0500 Subject: [PATCH] Add job expansion wrapper for kill --- share/config.fish | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/share/config.fish b/share/config.fish index 23350ffcf..a9898a083 100644 --- a/share/config.fish +++ b/share/config.fish @@ -273,12 +273,16 @@ function __fish_expand_pid_args end end +function bg --wraps bg + builtin bg (__fish_expand_pid_args $argv) +end + function fg --wraps fg builtin fg (__fish_expand_pid_args $argv) end -function bg --wraps bg - builtin bg (__fish_expand_pid_args $argv) +function kill --wraps kill + command kill (__fish_expand_pid_args $argv) end function wait --wraps wait