aboutsummaryrefslogtreecommitdiff
path: root/plugin/max-find-shell.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/max-find-shell.vim')
-rw-r--r--plugin/max-find-shell.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugin/max-find-shell.vim b/plugin/max-find-shell.vim
new file mode 100644
index 0000000..778f0fb
--- /dev/null
+++ b/plugin/max-find-shell.vim
@@ -0,0 +1,11 @@
1"=======================================================================================================================
2" SHELL:
3" Many scripts rely on bash. We help to find the bash binary
4"=======================================================================================================================
5if filereadable("/bin/bash")
6 set shell=/bin/bash
7elseif filereadable("/usr/local/bin/bash")
8 set shell=/usr/local/bin/bash
9elseif has("win32")
10 set shell="cmd.exe"
11endif
..