My omnium-gatherom of scripts and source code.
at main 14 lines 220 B view raw
1#!/usr/bin/env bash 2 3function execute() { 4 clear 5 echo "$@" 6 eval "$@" 7} 8 9execute "$@" 10 11inotifywait --quiet --recursive --monitor --event modify --format "%w%f" . \ 12| while read change; do 13 execute "$@" 14done