aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/vim-pack4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/vim-pack b/bin/vim-pack
index 65c7fb4..0a6240e 100755
--- a/bin/vim-pack
+++ b/bin/vim-pack
@@ -14,7 +14,7 @@ update_package () {
if [ ! -d $package_dir ]; then
echo "$name : Installing ... "
mkdir -p $package_dir
- git clone --depth 1 $remote_url $package_dir
+ git clone --depth 1 $remote_url $package_dir && echo "$name : Done" || echo "$name : FAIL"
else
cd $package_dir
echo "$name : Updating ... "
@@ -27,7 +27,7 @@ clean () {
for package_name in $(ls $HOME/.vim/pack/vendor/$load_type); do
package_dir=$HOME/.vim/pack/vendor/$load_type/$package_name
if [[ ! " ${package_dirs[*]} " =~ " ${package_dir} " ]]; then
- read -r -p "rm -rf $package_dir? [y/N]: "
+ read -r -p "rm -rf $package_dir? [y/N]: " response
response=${response,,}
if [[ "$response" =~ ^(yes|y)$ ]]; then
rm -rf $package_dir