aboutsummaryrefslogtreecommitdiff
path: root/helpers/bbpause
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-02-24 01:31:39 -0800
committerBruce Hill <bruce@bruce-hill.com>2020-02-24 01:31:39 -0800
commit865092c656af70bd5317513d8e0ed87fdc1c9acd (patch)
treec4311c89b75322b4bb9d7f3547ff0534b935d68f /helpers/bbpause
parenta8fd1743191bdb0a7453a2d90055e9dcc61a5ece (diff)
Major update: instead of defining all the helper functions as static
C-strings prefixed to commands (modified by the Makefile), the helper functions are now standalone scripts in the helpers/ dir, which gets added to "$PATH" when running bb.
Diffstat (limited to 'helpers/bbpause')
-rwxr-xr-xhelpers/bbpause4
1 files changed, 4 insertions, 0 deletions
diff --git a/helpers/bbpause b/helpers/bbpause
new file mode 100755
index 0000000..6604fbd
--- /dev/null
+++ b/helpers/bbpause
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Pause before continuing
+printf '\033[0;2m Press any key to continue...\033[0m' >/dev/tty
+bbask -1 >/dev/null