Skip to content

rubenvarela/omf-done

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

omf-done

A plugin for Oh My Fish.

Forked from https://github.com/franciscolourenco/done

Installation

Oh-my-fish

$ omf install https://github.com/rubenvarela/omf-done.git

Manually

Installations at https://github.com/franciscolourenco/done/

Usage

Just go on with your normal life. You will get a notification when a process takes more than 5 seconds finish, and the terminal window not in the foreground.

After installing you could type, for instance sleep 6, and start using other app. After 6 seconds you should get a notification.

Dependencies

If you want notifications with icons on macOS, please install terminal-notifier

brew install terminal-notifier

Settings

Only display notifications if a command takes more than a certain amount of time

`set -U __done_min_cmd_duration 5000  # default: 5000 ms`

Prevent specific commands from triggering notifications. Accepts a regex.

This is useful to exclude commands like git commit for instance, since it could trigger unwanted notifications if it is configured to use an external editor.

set -U __done_exclude 'git (?!push|pull)'  # default: all git commands, except push and pull. accepts a regex.

Execute a custom command instead of showing the default notifications

set -U __done_notification_command 'some custom command'

Tested

This fork has only been tested on macOS but should work on the same versions as the upstream project.

License

MIT

Contributors

Francisco Lourenço - Maintainer
Daniel Wehner - Proof of Concept
Thanh Duc Nguyen - Logo

Check upstream for up to date contributor and other information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages