Notify when a command finishes in Fish
This feature is something I've been missing from gnome-terminal
for years now.
It increases users's multitasking possibilities a lot.
One of most common terminal usages for any developer in a Linux desktop is to leave it doing something while I go back to work on other stuff. But it becomes problematic when you don't get notified when the command has finished.
MVP:
- In preferences, a checkbox that enables this.
- When terminal is not the currently selected app, and the command finishes, display a normal notification to the user.
Future enhacements:
- The user should be able to click on the notification and go to the terminal tab that triggered it directly.
- Possibility to define in a profile some text that, if found, produces a notification. So, for instance, if your command outputs "ERROR" somewhere, you can get notified before it finishes.
- The notification could include the executed command. Also how long it took.
- The notification could include the command result (success if exit code is 0, and failure otherwise, or even indicating the exit code directly).
I hope you like the feature. Thanks!
Edited by Jairo Llopis