From 6261a14458ca606e13fa46cc379c2139a380c117 Mon Sep 17 00:00:00 2001 From: Thomas Lindner Date: Tue, 3 Nov 2015 13:27:52 +0100 Subject: [PATCH] only set shell when using fish --- vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 4bd296f..6e85972 100644 --- a/vimrc +++ b/vimrc @@ -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()