Update vim TERM checks

This commit is contained in:
Kenneth Benzie 2017-01-11 20:27:30 +00:00
parent 1059eb7259
commit a8c012881a

View File

@ -1,17 +1,14 @@
if !platform#is_windows() if !platform#is_windows()
if $COLORTERM == 'gnome-terminal' if $TERM != 'xterm-256color' &&
if $TERM != 'xterm-256color' && \ $TERM != 'screen-256color' &&
\ $TERM != 'screen-256color' && \ $TERM != 'tmux-256color'
\ $TERM != 'xterm-256color-italic' && echo "This terminal does not report 256 color support"
\ $TERM != 'screen-256color-italic' echo "For gnome-terminal:"
echo "This terminal does not report 256 color support" echo "Open: Profile Preferences"
echo "For gnome-terminal:" echo "Open: Title and Command"
echo "Open: Profile Preferences" echo "Tick: Run a custom command instead of my shell"
echo "Open: Title and Command" echo "Add the following custom command"
echo "Tick: Run a custom command instead of my shell" echo "env TERM=xterm-256color /usr/bin/zsh"
echo "Add the following custom command"
echo "env TERM=xterm-256color /usr/bin/zsh"
endif
endif endif
endif endif
if !platform#is_windows() || has("gui_running") if !platform#is_windows() || has("gui_running")