-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.conf.yaml
46 lines (43 loc) · 1.47 KB
/
install.conf.yaml
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
- defaults:
link:
relink: true
- link:
~/.dotfiles: ''
~/.tmux.conf: tmux/oh-my/.tmux.conf
~/.tmux.conf.local: tmux/tmux.conf.local
~/.vimrc: vimrc
~/.zshrc: zshrc
~/.bin: bin
- shell:
# Powerline
- rm -rf /tmp/fonts
- cd /tmp && git clone https://github.com/powerline/fonts.git --depth=1
- cd /tmp/fonts && ./install.sh
# Vim plugins
- rm -rf ~/.vim
- mkdir -p ~/.vim/bundle
- git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- vim +PluginInstall +qall
# zsh plugins
- rm -rf ~/.antigen.zsh ~/antigen.zsh ~/.antigen
- mkdir ~/.antigen
- curl -L git.io/antigen > ~/.antigen/antigen.zsh
# git config
- git config --global core.excludesfile '~/.dotfiles/git/gitignore'
- git config --global core.attributesfile '~/.dotfiles/git/gitattributes'
- git config --global diff.image.command '~/.dotfiles/git/imgdiff.sh'
- git config --global push.default simple
- git config --global grep.lineNumber true
- git config --global diff.renames true
- git config --global alias.l 'log --first-parent --oneline'
- git config --global commit.verbose true
- git config --global rerere.enabled true
# fzf
- rm -rf ~/.fzf
- git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
- ~/.fzf/install --key-bindings --completion --no-update-rc
# node
- rm -rf ~/n
- curl -L https://git.io/n-install | bash -s -- -y -n
- npm config set -g save-prefix='~'
- npm config set -g init-license=MIT