only set shell when using fish

This commit is contained in:
Thomas Lindner 2015-11-03 13:27:52 +01:00
parent a01d96524f
commit 6261a14458

4
vimrc
View file

@ -1,5 +1,7 @@
set sts=4 sw=4 et
set shell=/bin/sh
if &shell =~# 'fish$'
set shell=/bin/sh
endif
runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect()