only set shell when using fish

master
Thomas Lindner 2015-11-03 13:27:52 +01:00
parent a01d96524f
commit 6261a14458
1 changed files with 3 additions and 1 deletions

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()