diff --git a/bin/chot b/bin/chot new file mode 100644 index 0000000..2144765 --- /dev/null +++ b/bin/chot @@ -0,0 +1,74 @@ +#!/bin/bash +set -euo pipefail + +CHOT_SCRIPT="${CHOT_SCRIPT:-${XDG_DATA_HOME:-$HOME/.local/share}/chot/scripts}" +EDITOR="${EDITOR:-vi}" + +usage() { + echo "Usage: chot [edit] [args...]" + echo + echo " Run or edit one-off scripts stored in a user directory." + echo + echo " run