From 8f7479e4608be4c7703b77944e45ffdfb8812779 Mon Sep 17 00:00:00 2001 From: chxuan <787280310@qq.com> Date: Mon, 23 Sep 2019 18:11:14 +0800 Subject: [PATCH] support kali --- README.md | 5 ++++- install.sh | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index be95756..bd55fa5 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,11 @@ An automatic configuration program for vim

+

+ +

@@ -51,7 +54,7 @@ An automatic configuration program for vim -#### 安装vimplus(请在普通用户下安装) +#### 安装vimplus git clone https://github.com/chxuan/vimplus.git ~/.vimplus cd ~/.vimplus diff --git a/install.sh b/install.sh index 1306782..906dee5 100755 --- a/install.sh +++ b/install.sh @@ -19,6 +19,8 @@ function get_linux_distro() echo "elementaryOS" elif grep -Eq "Debian" /etc/*-release; then echo "Debian" + elif grep -Eq "Kali" /etc/*-release; then + echo "Kali" elif grep -Eq "CentOS" /etc/*-release; then echo "CentOS" elif grep -Eq "fedora" /etc/*-release; then @@ -389,6 +391,8 @@ function install_vimplus_on_linux() install_vimplus_on_ubuntu elif [ ${distro} == "Debian" ]; then install_vimplus_on_debian + elif [ ${distro} == "Kali" ]; then + install_vimplus_on_debian elif [ ${distro} == "CentOS" ]; then install_vimplus_on_centos elif [ ${distro} == "fedora" ]; then