We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b541f6e commit a0d7a21Copy full SHA for a0d7a21
src/install.sh
@@ -18,11 +18,11 @@ if [ "x$UID" == "x0" ] && [ "x$FORCE" != "xy" ]; then
18
fi
19
20
if [ "x$VIMEXE" == "x" ]; then
21
- if which vim; then VIM=vim
22
- elif which nvim; then VIM=nvim
+ if which vim; then VIMEXE=vim
+ elif which nvim; then VIMEXE=nvim
23
elif [ "x$FORCE" != "xy" ]; then
24
echo -n '-- Please specify vim executable path: '
25
- read VIM
+ read VIMEXE
26
if ! "$VIMEXE" --version; then
27
echo "ERROR: not a valid vim executable: $VIMEXE"
28
exit 1
0 commit comments