On Tue, Aug 4, 2015, at 04:28 AM, 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

Brilliant.  Thank you.  I'm not a fish expert, so I don't know if there
are any technical problems with that, but it looks good to me.  I like
that it can be implemented as a function.

-- 
http://www.fastmail.com - Does exactly what it says on the tin


------------------------------------------------------------------------------
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to