We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6abd8f6 commit 11dc6adCopy full SHA for 11dc6ad
plugins/available/history-eternal.plugin.bash
@@ -1,6 +1,11 @@
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
+ _log_warning "Bash version 4.3 introduced the 'unlimited' history size capability."
6
+ return 1
7
+fi
8
+
9
# Modify history sizes before changing location to avoid unintentionally
10
# truncating the history file early.
11
0 commit comments