X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.shellrc;h=d9a20856b7dd7d342a2f1e8110c7c169cdc8cb6a;hp=af5408c81420d3d997e0b6afdd6fc28a7da74e18;hb=1b4145b1d1debe2e0c92e4db7af5f1437fa9d0c5;hpb=01750040116e8b50ca033c9b44348027a8edba5b diff --git a/.shellrc b/.shellrc index af5408c..d9a2085 100644 --- 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 }