From f3eb203b4ad79090e36982e7b417c0cf0de52646 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 23 Oct 2023 12:27:38 +0200 Subject: fixed: find-shell script --- plugin/max-find-bash.vim | 11 ----------- plugin/max-find-shell.vim | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 plugin/max-find-bash.vim create mode 100644 plugin/max-find-shell.vim (limited to 'plugin') diff --git a/plugin/max-find-bash.vim b/plugin/max-find-bash.vim deleted file mode 100644 index 29cb7c3..0000000 --- a/plugin/max-find-bash.vim +++ /dev/null @@ -1,11 +0,0 @@ -"======================================================================================================================= -" 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 -elseif has("win32") - set shell = 'cmd.exe' -endif 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 @@ +"======================================================================================================================= +" 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 +elseif has("win32") + set shell="cmd.exe" +endif -- cgit v1.2.3