-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmake.sh
More file actions
executable file
·27 lines (20 loc) · 812 Bytes
/
make.sh
File metadata and controls
executable file
·27 lines (20 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
vimdir=`pwd`
# get and setup submodules
git submodule update --init
git submodule foreach git checkout master
# add own github forks to plugins for pushing
git --git-dir=bundle/Dim/.git remote -v add ssh git@github.com:juhasz/Dim.git
git --git-dir=bundle/drupal_snippets/.git remote -v add ssh git@github.com:juhasz/drupal-snippets.git
# create backup and undo directory
mkdir undodir backupdir
# create an empty file in doc directory for markdown plugin, fix a pathogen bug
touch bundle/vim_markdown/doc/EmptyFileForFixPathogen.txt
# create symlinks for vimrc, gvimrc and ctags config file
rm ~/.ctags ~/.janus
ln -s $vimdir/vimrc ~/.vimrc.after
ln -s $vimdir/vimrc.before ~/.vimrc.before
ln -s $vimdir/gvimrc ~/.gvimrc.after
ln -s $vimdir/ctags ~/.ctags
ln -s $vimdir/bundle ~/.janus
exit 0