Skip to content

Instantly share code, notes, and snippets.

@oknowton
oknowton / zbell.zsh
Last active August 31, 2017 06:43 — forked from jpouellet/zbell.sh
#!/usr/bin/env zsh
# This script prints a bell character when a command finishes
# if it has been running for longer than $zbell_duration seconds.
# If there are programs that you know run long that you don't
# want to bell after, then add them to $zbell_ignore.
#
# This script uses only zsh builtins so its fast, there's no needless
# forking, and its only dependency is zsh and its standard modules
#