diff options
Diffstat (limited to 'plugin/max-find-bash.vim')
-rw-r--r-- | plugin/max-find-bash.vim | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ | |||
1 | "======================================================================================================================= | ||
2 | " SHELL: | ||
3 | " Many scripts rely on bash. We help to find the bash binary | ||
4 | "======================================================================================================================= | ||
5 | if filereadable("/bin/bash") | ||
6 | set shell=/bin/bash | ||
7 | elseif filereadable("/usr/local/bin/bash") | ||
8 | set shell=/usr/local/bin/bash | ||
9 | endif | ||