]> git.phdru.name Git - dotfiles.git/blobdiff - .shellrc
.vimrc: Change cursor shape under GNU `screen`
[dotfiles.git] / .shellrc
index af5408c81420d3d997e0b6afdd6fc28a7da74e18..d9a20856b7dd7d342a2f1e8110c7c169cdc8cb6a 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -327,10 +327,6 @@ mc() {
 
    case "$TERM" in
       screen*) # screen, screen.rxvt
-         if [ "$TERM" = screen.rxvt ]; then
-            MC_SAVE_TERM="$TERM"
-            TERM=rxvt
-         fi
          MC_XTERM="-x"
       ;;
    esac
@@ -382,9 +378,7 @@ mc() {
    fi
 
    [ -n "$MC_SAVE_OPS1" ] && OPS1="$MC_SAVE_OPS1"
-   [ -n "$MC_SAVE_TERM" ] && TERM="$MC_SAVE_TERM"
-   unset MC_FOUND MC_PWD_FILE MC_SAVE_OPS1 MC_SAVE_TERM \
-         MC_SLOW MC_TMP_DIR MC_XTERM
+   unset MC_FOUND MC_PWD_FILE MC_SAVE_OPS1 MC_SLOW MC_TMP_DIR MC_XTERM
 
    return $rc
 }