4 ms·
"Previously, a single % would pid-expand to either all backgrounded jobs, or all jobs owned by your user. Now it expands to the last job backgrounded. I
by GhotiFish 13y ago
"Previously, a single % would pid-expand to either all
backgrounded jobs, or all jobs owned by your user. Now it
expands to the last job backgrounded. If no job is in the
background, it will fail to expand. In particular, fg %
can be used to put the most recent background job in the
foreground."
oh! Can fish background tasks now? I haven't being following very closely, I really should update my shell.
- siteshwar 13y agoIt was always possible to background processes in fish. You may be confusing it with not able to background functions (https://github.com/fish-shell/fish-shell/issues/238 https://github.com/fish-shell/fish-shell/issues/238). We are yet to fix that bug.
- lunixbochs 13y agoThe major change here is that `kill -9 %` with no backgrounded tasks would kill all of your processes (before Fish 2.1). There's now a guarantee that `%` expands to either the last process backgrounded or an error.