Browse Source

Fish shell fix in vimrc

master
Noah Petherbridge 7 years ago
parent
commit
4ccc92ca7d
  1. 14
      home/.vimrc

14
home/.vimrc

@ -1,6 +1,11 @@
" vimrc, http://sh.kirsle.net/
" 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 nocompatible " use vim defaults
set background=dark " my terminal has a black background
@ -139,12 +144,3 @@ let perl_extended_vars = 1
" expand tabs for python code
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

Loading…
Cancel
Save