On Tue, 4 Aug 2015, Mike Meyer wrote: > And I just gave myself an idea for an implementation: > > function suspend > if status --is-login > echo cannot suspend login shell >&2 > else > kill -STOP %self > end > end > > Seems to work like a charm. Unless someone objects before I get back to a > terminal, I'll submit a pull request for this.
I'm not opposed to merging this, but I have to ask - why do you want to suspend your shell? Is there a use case that isn't covered by the state shared across shells such that exiting and restarting isn't sufficient? David Adam fish committer zanc...@ucc.gu.uwa.edu.au ------------------------------------------------------------------------------ _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users