-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·38 lines (31 loc) · 808 Bytes
/
install.sh
File metadata and controls
executable file
·38 lines (31 loc) · 808 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
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash -e
GIT_URL=git@github.com:foobacca/dotfiles.git
#GIT_URL=git://github.com/foobacca/dotfiles.git
if [ -d ~/.dotfiles ]; then
if type -t git-up > /dev/null; then
(cd ~/.dotfiles && git-up)
else
(cd ~/.dotfiles && git pull --rebase)
fi
else
git clone GIT_URL ~/.dotfiles
fi
[ -e ~/.freshrc ] || ln -sv ~/.dotfiles/freshrc ~/.freshrc
if [ -e ~/.fresh/build/shell.sh ]; then
source ~/.fresh/build/shell.sh
fresh
else
bash -c "`curl -sL get.freshshell.com`"
fi
if ! [ -d ~/.vim/bundle/vundle ]; then
git clone git://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
fi
mkdir -p .vim/_temp
mkdir -p .vim/_backup
# vim -N -u ~/.vimrc -s <(cat <<-EOF
# :set buftype=nofile
# iRun \`:qa\` to finish install when bundle completes.
# :BundleClean!
# :BundleInstall!
# EOF
# )