Skip to content
/ adhbeep Public

Terminal beeps for distractible peeps.

Notifications You must be signed in to change notification settings

xaqrox/adhbeep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

adhbeep

Terminal beeps for distractible peeps.

adhbeep is a OhMyZsh plugin that plays a sound after long-running commands to get you back on track.

Install

cd $ZSH/plugins
git clone https://github.com/xaqrox/adhbeep.git
omz plugin enable adhbeep

Configure

Set the following variables to customize the plugin's behavior.

# .zshrc

# Beep if a command lasts longer than this many seconds.
export ADHBEEP_PATIENCE=3
# No beeps if the long command contains any of these patterns.
export ADHBEEP_IGNORE=("less " "tail -f")
# The sound played after a successful command.
export ADHBEEP_SUCCESS="/System/Library/Sounds/Ping.aiff"
# The sound played after a failed command (non-zero exit).
export ADHBEEP_FAILURE="/System/Library/Sounds/Sosumi.aiff"

About

Terminal beeps for distractible peeps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages