Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

renice +20 %%



Hi.

I can't see how I would write a shell function that would do something like

  renice +20 %%

I propose an option to the jobs builtin to output only the pid of the specified job, so one could write this:

  jr() { renice +20 $(jobs -x %%) }

Thanks

Dave



Messages sorted by: Reverse Date, Date, Thread, Author