aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/vim-plugins.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/vim-plugins.bash b/bash/vim-plugins.bash
index 1b8d7c6..688d918 100644
--- a/bash/vim-plugins.bash
+++ b/bash/vim-plugins.bash
@@ -3,6 +3,7 @@ function vim-add() {
local NAME=$(basename "$1")
+ [ -d "$DOTFILEBASE/.vim/bundle-active" ] || mkdir "$DOTFILEBASE/.vim/bundle-active"
[ -d "$DOTFILEBASE/.vim/bundle/$NAME" ] || return 1 # no such plugin
[ -L "$DOTFILEBASE/.vim/bundle-active/$NAME" ] && return 2 # Already exists