mirror of https://github.com/aristocratos/bashtop
move shopt commands to after bash version check
parent
41f40b5938
commit
36e5c8e7f1
5
bashtop
5
bashtop
|
@ -29,8 +29,6 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
declare -x LC_MESSAGES="C" LC_NUMERIC="C" LC_ALL=""
|
declare -x LC_MESSAGES="C" LC_NUMERIC="C" LC_ALL=""
|
||||||
shopt -qu failglob nullglob
|
|
||||||
shopt -qs extglob globasciiranges globstar
|
|
||||||
|
|
||||||
#* Fail if Bash version is below 4.4
|
#* Fail if Bash version is below 4.4
|
||||||
bash_version_major="$(echo $BASH_VERSION | cut -d "." -f 1)"
|
bash_version_major="$(echo $BASH_VERSION | cut -d "." -f 1)"
|
||||||
|
@ -47,6 +45,9 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
shopt -qu failglob nullglob
|
||||||
|
shopt -qs extglob globasciiranges globstar
|
||||||
|
|
||||||
declare -a banner banner_colors
|
declare -a banner banner_colors
|
||||||
|
|
||||||
banner=(
|
banner=(
|
||||||
|
|
Loading…
Reference in New Issue