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