zshrc.d/20-prompt.zrc
changeset 49 06af8cc97cc1
parent 44 157f894ef9f7
child 53 4767c5a8b1f9
equal deleted inserted replaced
48:604330c024f4 49:06af8cc97cc1
     1 
     1 
     2 
     2 
     3 
     3 
     4 # Enable my Vim-like mode for supported terms
     4 # Enable my Vim-like mode for supported terms
     5 if [[ "$TERM" == "rxvt" ||
     5 if [[ "$TERM" == rxvt* ||
     6       "$TERM" == "rxvt-256color" ||
     6       "$TERM" == xterm* ||
     7       "$TERM" == "rxvt-unicode" ||
     7       "$TERM" == screen* ||
     8       "$TERM" == "rxvt-unicode-256color" ||
     8       "$TERM" == tmux* ]]
     9       "$TERM" == "xterm-256color" ]]
       
    10 then
     9 then
    11     export SHOWMODE="on"
    10     export SHOWMODE="on"
    12 fi
    11 fi
    13 
    12 
    14 
    13