mirror of
https://github.com/spf13/spf13-vim.git
synced 2024-09-21 07:27:11 +00:00
fix bug of .vim directory
In the repo, there's no .vim directory, so I think the shell should create it first.
This commit is contained in:
parent
5f5dc19792
commit
4778fb2ded
@ -105,6 +105,10 @@ clone_vundle() {
|
||||
create_symlinks() {
|
||||
endpath="$HOME/.$app_name-3"
|
||||
|
||||
if [ ! -d "$endpath/.vim/bundle" ]; then
|
||||
mkdir -p "$endpath/.vim/bundle"
|
||||
fi
|
||||
|
||||
lnif "$endpath/.vimrc" "$HOME/.vimrc"
|
||||
lnif "$endpath/.vimrc.bundles" "$HOME/.vimrc.bundles"
|
||||
lnif "$endpath/.vimrc.before" "$HOME/.vimrc.before"
|
||||
@ -129,10 +133,6 @@ create_symlinks() {
|
||||
ln -sf "$endpath/.vimrc.before.fork" "$HOME/.vimrc.before.fork"
|
||||
fi
|
||||
|
||||
if [ ! -d "$endpath/.vim/bundle" ]; then
|
||||
mkdir -p "$endpath/.vim/bundle"
|
||||
fi
|
||||
|
||||
ret="$?"
|
||||
success "$1"
|
||||
debug
|
||||
|
Loading…
Reference in New Issue
Block a user