aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 4f8958a2..be49a931 100755
--- a/install.sh
+++ b/install.sh
@@ -1,5 +1,10 @@
#! /usr/bin/env bash
+if [[ "${BASH_VERSION%%.*}" -eq 3 ]]; then
+ echo "Atuin has limited support for Bash 3.2. The Atuin config enter_accept cannot be turned off." >&2
+ echo "To turn off enter_accept, please upgrade your version of bash (possibly via homebrew or ports)" >&2
+fi
+
set -euo pipefail
cat << EOF