-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·52 lines (38 loc) · 1.3 KB
/
install.sh
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/sh
set -e
DOTFILES=`pwd`
# Install ohmyzsh
# sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
link() {
# Force create/replace the symlink
ln -fs "${1}" "${HOME}/${2}"
echo "${1} -> ${2}"
}
link "${DOTFILES}/zshrc" ".zshrc"
link "${DOTFILES}/vimrc" ".vimrc"
link "${DOTFILES}/gitconfig" ".gitconfig"
#link "${DOTFILES}/tmux.conf" ".tmux.conf"
#link "${HOME}/Dropbox/dev" "dev"
link "${DOTFILES}/min.zsh-theme" ".oh-my-zsh/themes/min.zsh-theme"
SOLARIZED="${DOTFILES}/solarized"
if [[ ! -d ${SOLARIZED} ]]; then
# Install solarized theme
git clone [email protected]:altercation/solarized.git $SOLARIZED
fi
SOLARIZED_VIM="${HOME}/.vim/colors/solarized.vim"
if [[ ! -f ${SOLARIZED_VIM} ]]; then
mkdir -p "${HOME}/.vim/colors"
cp "${SOLARIZED}/vim-colors-solarized/colors/solarized.vim" $SOLARIZED_VIM
fi
# Gems
#gem install git-up lunchy
# Postgres
#cp /usr/local/Cellar/postgresql/9.4.5/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents
#lunchy start postgres
#createuser -s -w postgres
# Memcached
#cp /usr/local/Cellar/memcached/1.4.24/homebrew.mxcl.memcached.plist ~/Library/LaunchAgents
#lunchy start memcached
# Install neobundle
#curl https://raw.githubusercontent.com/Shougo/neobundle.vim/master/bin/install.sh > neobundle.sh
#sh ./neobundle.sh