-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.conf.yaml
112 lines (104 loc) · 3.14 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# https://github.com/anishathalye/dotbot
# dotbot configuration
- defaults:
link:
create: true
relink: true
- clean: ['~', '~/.config']
# Set up OS X
- shell:
- command: launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist
- description: Disable launching iTunes when the "play" key is pressed
- if: '[ `uname` = Darwin ]'
# Set up Homebrew (OS X)
- shell:
- # Homebrew depends on Xcode CLI
- command: xcode-select --install
- description: Installing Xcode CLI
- if: '[ `uname` = Darwin ]'
-
- command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)
- description: Installing homebrew
- if: '[ `uname` = Darwin ]'
-
- command: brew update
- description: Updating homebrew
- if: '[ `uname` = Darwin ]'
-
- command: brew bundle
- description: Installing homebrew bundle
- if: '[ `uname` = Darwin ]'
# Link dotfiles and configs
- link:
~/:
- glob: true
- path: bash/*
~/.config/copyq: copyq
- if: command -v copyq
~/:
- glob: true
- path: git/*
~/.config/iterm2:
- path: iterm2
- if: '[ `uname` = Darwin ]'
~/:
- glob: true
- path: python/*
~/:
- glob: true
- path: shell/*
~/.vimrc: modules/vimrc/vimrcs/basic.vim
# prezto installs most of the zsh configs and plugins in the "shell" section
# below, such as .zshrc, etc.
~/.zprezto: modules/prezto
# zsh/ contains other zsh customizations such as the prompt theme
~/:
- glob: true
- path: zsh/*
# Link configs for Sublime Text
link:
~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/:
- glob: true
- path: sublime-text/*
- if: '[ `uname` = Darwin ]'
~/.config/sublime-text-3:
- glob: true
- path: sublime-text/*
- if: '[ `uname` = Linux ]'
/usr/local/bin/subl:
- path: /Applications/Sublime Text.app/Contents/SharedSupport/bin/subl
- if: '[ `uname` = Darwin ]' # subl should be linked automatically on linux
# todo: make sure these are idempotent
- shell:
# Fonts
- [./fonts/install.sh, Installing powerline fonts]
# ZSH & Prezto
- [chsh -s $(which zsh), Making zsh the default shell]
- [./$HOME/.zprezto/init.zsh, Initializing prezto for zsh]
- [source $HOME/.zshrc, Loading installed zsh settings] # maybe unnecessary with prezto
# NVM (Node.js)
- [nvm install --lts, Installing Node.js LTS]
- [npm install -g npm, Upgrading npm]
- [npm install -g tldr, Installing tldr]
# VIM
- [vim -es -u vimrc -i NONE -c "PlugInstall" -c "qa"]
# Everything before this point should be idempotent. The following steps should
# upgrade all the dependencies installed on the first run.
-
- command: brew update
- description: Updating homebrew
- if: '[ `uname` = Darwin ]'
-
- command: brew upgrade
- description: Upgrading homebrew
- if: '[ `uname` = Darwin ]'
-
- command: mas upgrade
- description: Upgrading App Store apps
- if: '[ `uname` = Darwin ]'
-
- command: nvm upgrade
- description: Upgrading nvm
-
- command: npm -g install npm
- description: Upgrading npm