blob: 243eac184be185a3a1d681d9373310eee3e4c176 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
cd "$1" || exit 1
mkdir -p bundle-active/ || exit 1
cd bundle-active/ || exit 1
DEFS=(
'vim-pathogen'
'vim-airline'
'vim-airline-themes'
'vim-fugitive'
'rainbow'
)
pwd
echo Activating default vim plugins: "${DEFS[@]}"
for f in "${DEFS[@]}"; do
[ -L "$f" ] && continue
ln -s "../bundle/$f" "$f"
done
|