diff options
-rw-r--r-- | bash_include | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bash_include b/bash_include index 86777ea..36cb8a8 100644 --- a/bash_include +++ b/bash_include @@ -98,6 +98,7 @@ alias savetty='default_tty_setting=`stty -g`' alias resetty='stty $default_tty_setting' alias vimhtml='vim -c "set ts=2" -c "set sw=2"' +alias screen256='screen -T screen-256color' # Functions @@ -1382,6 +1383,15 @@ shopt -s cmdhist shopt -s mailwarn [ "$interactive_shell" ] && { + if [ "$WINDOW" ] && type screen &> /dev/null; then + if [[ "`screen --version`" == *4.01* ]]; then + echo "Setting options for GNU screen 4.1.0" + screen -X cjkwidth off + fi + fi +} + +[ "$interactive_shell" ] && { echo "Done" if [ "$UID" = "0" ] || [ "$EUID" = "0" ] then |