summaryrefslogtreecommitdiff
path: root/jh-mksource.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jh-mksource.sh')
-rw-r--r--jh-mksource.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/jh-mksource.sh b/jh-mksource.sh
new file mode 100644
index 0000000..c40a739
--- /dev/null
+++ b/jh-mksource.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+quote_args() {
+ for arg in "$@"; do
+ quote "$arg"
+ printf ' '
+ done
+}
+
+echo "type mksource &>/dev/null && mksource; jh checksource $(quote_args "$@")"