Noti - notifications for "Terminal" Mac & Linux
Macos / / December 26, 2019
Emulator console in OS X and Linux is not the most friendly software and make it a little more convenient not hurt. We'll show you how to add a "Terminal" system notification of the completion of running processes.
Certain processes are carried out for a long time, and not to look in the window "Terminal" every minute, it is more convenient to use Noti utility that displays notifications on the desktop.
To install in OS X using the following command:
curl -LOk https://github.com/variadico/noti/releases/download/v1.3.0/noti1.3.darwin-amd64.tar.gz && tar -zxvf noti1.3.darwin-amd64.tar.gz && mv noti / usr / local / bin / noti
If you have Linux, enter this:
curl -LOk https://github.com/variadico/noti/releases/download/v1.3.0/noti1.3.linux-amd64.tar.gz && tar -zxvf noti1.3.linux-amd64.tar.gz && mv noti / usr / local / bin / noti
It's all. Now, to withdraw the notification of the completion of a process, you need to add noti at the beginning or end of the command.
By default, the notification is displayed process name and the message «Done!», But if you want these parameters can be set manually using the keys
-t and -m respectively, as well as customize many other (more - in the project page).For example, type the command noti -t «Hello, Layfhaker» echoWe obtain the output something like this.
Easy and convenient. If you frequently use the terminal uniquely useful.