aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2016-09-28 14:26:00 +0800
committerTing-Wei Lan <lantw44@gmail.com>2016-09-28 14:26:00 +0800
commitd169a3afc646343b574d9cecde9983df71a45c95 (patch)
treea5e1d0153c60c07a2bd7992ed06f420e84ff3c63
parent368abd78d9d34aa9e422b8bdadb0e7bd90029923 (diff)
downloadconfigfile-d169a3afc646343b574d9cecde9983df71a45c95.tar
configfile-d169a3afc646343b574d9cecde9983df71a45c95.tar.gz
configfile-d169a3afc646343b574d9cecde9983df71a45c95.tar.bz2
configfile-d169a3afc646343b574d9cecde9983df71a45c95.tar.lz
configfile-d169a3afc646343b574d9cecde9983df71a45c95.tar.xz
configfile-d169a3afc646343b574d9cecde9983df71a45c95.tar.zst
configfile-d169a3afc646343b574d9cecde9983df71a45c95.zip
bash_include: 修正前一次修改的判斷式錯誤bash_include-20160928
-rw-r--r--bash_include2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash_include b/bash_include
index 252bb00..4fbaf65 100644
--- a/bash_include
+++ b/bash_include
@@ -119,7 +119,7 @@ nocolorprompting="${nocolorprompting}"'\$ '
colorsecondprompting="\[\e[36m\]-->\[\e[m\] "
nocolorsecondprompting="--> "
-if [ "${BASH_VERSINFO[0]}" -gt "5" ] || [ "${BASH_VERSINFO[0]}" -eq "4" -a "${BASH_VERSINFO[1]}" -eq "3" ]; then
+if [ "${BASH_VERSINFO[0]}" -ge "5" ] || [ "${BASH_VERSINFO[0]}" -eq "4" -a "${BASH_VERSINFO[1]}" -ge "3" ]; then
HISTSIZE=-1
HISTFILESIZE=-1
else