Shell tips of the day:

> warn() { $@; notify-send "$(printf 'command "%s" has finished' "$(echo $@)")" }
> warn super-log-command --with arguments

Will send you a notification (you need "notification-send") when the command finished and you've lost focus.

Sign in to participate in the conversation

This is a mastodon instance for social justice activists, LGBTQIA+ people, and activists in general See the Goals and technical details, and Rules and privacy policy pages for more information