diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-09 16:31:38 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-09 16:31:38 +1200 |
commit | 26bfaa3ad024e05d6679d5287bd5ba3be81dfde7 (patch) | |
tree | a1c5c8cd844cf484bb95394297264b41eec944c9 /bin/jfcd | |
parent | Add note about pdksh to README (diff) | |
download | dotfiles-26bfaa3ad024e05d6679d5287bd5ba3be81dfde7.tar.gz dotfiles-26bfaa3ad024e05d6679d5287bd5ba3be81dfde7.zip |
Change jfcd(1) to POSIX sh
Diffstat (limited to 'bin/jfcd')
-rwxr-xr-x | bin/jfcd | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,12 +1,9 @@ -#!/usr/bin/env bash +#!/bin/sh -# jfcd(1) -- Watch a directory for changes and commit them with jfc(1) if there -# are any +# Watch a directory for changes and commit them with jfc(1) if there are any; +# requires inotifywait(1) self=jfcd -# Check we have what we need -hash inotifywait jfc || exit - # Function wrapper around inotifywait(1) inw() { inotifywait \ |