aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2014-04-22 00:43:37 +0800
committerTing-Wei Lan <lantw44@gmail.com>2014-04-22 00:43:37 +0800
commitdf5b5b4d1e028464abe4e67b8fdecde900a61ba0 (patch)
treed21179197c255316ef244f7938411d0b52d7c706
parent4e2b6dab5c7f5c93a9bc681ffa36fffc48034edc (diff)
downloadconfigfile-df5b5b4d1e028464abe4e67b8fdecde900a61ba0.tar
configfile-df5b5b4d1e028464abe4e67b8fdecde900a61ba0.tar.gz
configfile-df5b5b4d1e028464abe4e67b8fdecde900a61ba0.tar.bz2
configfile-df5b5b4d1e028464abe4e67b8fdecde900a61ba0.tar.lz
configfile-df5b5b4d1e028464abe4e67b8fdecde900a61ba0.tar.xz
configfile-df5b5b4d1e028464abe4e67b8fdecde900a61ba0.tar.zst
configfile-df5b5b4d1e028464abe4e67b8fdecde900a61ba0.zip
bash_include: GNU screen 4.02 準備要 release 了bash_include-20140422
-rw-r--r--bash_include4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash_include b/bash_include
index 8c64fdf..67cea7e 100644
--- a/bash_include
+++ b/bash_include
@@ -2021,8 +2021,8 @@ ulimit -S -c unlimited 2> /dev/null
[ "$interactive_shell" ] && {
if [ "$WINDOW" ] && type screen &> /dev/null; then
- if [[ "`screen --version`" == *4.01* ]]; then
- echo "Setting options for GNU screen 4.1.0"
+ if [ "`screen --version | sed 's/^Screen version 4\.\([0-9]*\).*$/\1/'`" -ge "1" ]; then
+ echo "Setting options for GNU screen >= 4.1.0"
screen -X cjkwidth off
fi
fi