We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7387e0d commit 11f59eaCopy full SHA for 11f59ea
plugins/available/history-eternal.plugin.bash
@@ -1,6 +1,10 @@
1
# shellcheck shell=bash
2
about-plugin 'eternal bash history'
3
4
+if [[ ${BASH_VERSINFO[0]} -lt 4 ]] || [[ ${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -lt 3 ]]; then
5
+ return 1 # Bash version 4.3 introduced the "unlimited" history size capability.
6
+fi
7
+
8
# Modify history sizes before changing location to avoid unintentionally
9
# truncating the history file early.
10
0 commit comments