From f2e01d7e513067ddb57c75f6e38cdcf434946cf8 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 22 Oct 2018 00:02:58 +0200 Subject: Major refactoring for version 2.0 vim-plug has been removed and replaced with Vims internal bundle mechanism. But I already noticed, that there is also GLVM now and started trying that as well. --- plugin/max-find-bash.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 plugin/max-find-bash.vim (limited to 'plugin/max-find-bash.vim') diff --git a/plugin/max-find-bash.vim b/plugin/max-find-bash.vim new file mode 100644 index 0000000..a5e243b --- /dev/null +++ b/plugin/max-find-bash.vim @@ -0,0 +1,9 @@ +"======================================================================================================================= +" SHELL: +" Many scripts rely on bash. We help to find the bash binary +"======================================================================================================================= +if filereadable("/bin/bash") + set shell=/bin/bash +elseif filereadable("/usr/local/bin/bash") + set shell=/usr/local/bin/bash +endif -- cgit v1.2.3