aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-03 19:46:06 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-03 19:46:59 +1300
commit34b331ddbc98d2969e4984977b80827557d31c4a (patch)
tree74307fc9b2e05acfbde654cf235fab71fec75062 /bin
parentAdd another issue (diff)
downloaddotfiles-34b331ddbc98d2969e4984977b80827557d31c4a.tar.gz
dotfiles-34b331ddbc98d2969e4984977b80827557d31c4a.zip
Add bcq(1df), tiny shut-up bc(1) wrapper for X11
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bcq4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/bcq b/bin/bcq
new file mode 100755
index 00000000..7b950b56
--- /dev/null
+++ b/bin/bcq
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Fire up bc(1), hushing it if it looks like GNU
+[ -e "$HOME"/.cache/bc/quiet ] && set -- --quiet "$@"
+exec bc "$@"