fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
e59a61e5e
master
1# localization: skip(private) 2# Allow %n job expansion to be used with fg/bg/wait 3# `jobs` is the only one that natively supports job expansion 4function __fish_expand_pid_args 5for argin $argv 6if string match -qr'^%\d+$' --$arg 7if not jobs -p$arg 8return 1 9end 10else 11printf "%s\n" $arg 12end 13end 14end