1
0

Fish shell fix in vimrc

This commit is contained in:
Noah 2014-11-21 13:00:14 -08:00
parent 0ac80f28bb
commit 4ccc92ca7d

View File

@ -1,6 +1,11 @@
" vimrc, http://sh.kirsle.net/ " vimrc, http://sh.kirsle.net/
" Last Modified 2013/09/27 " Last Modified 2013/09/27
" https://www.mail-archive.com/fish-users@lists.sourceforge.net/msg01425.html
if $SHELL =~ 'bin/fish'
set shell=/bin/bash
endif
set encoding=utf8 " Unicode support set encoding=utf8 " Unicode support
set nocompatible " use vim defaults set nocompatible " use vim defaults
set background=dark " my terminal has a black background set background=dark " my terminal has a black background
@ -139,12 +144,3 @@ let perl_extended_vars = 1
" expand tabs for python code " expand tabs for python code
autocmd BufRead,BufNewFile *.py set expandtab autocmd BufRead,BufNewFile *.py set expandtab
"""""""""""""""""""""""""""""""""
""" Compatibility with fish shell
"""""""""""""""""""""""""""""""""
" https://www.mail-archive.com/fish-users@lists.sourceforge.net/msg01425.html
if $SHELL =~ 'bin/fish'
set shell=/bin/bash
endif