-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.conf.yaml
More file actions
81 lines (76 loc) · 2.73 KB
/
Copy pathinstall.conf.yaml
File metadata and controls
81 lines (76 loc) · 2.73 KB
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
#
# Dotbot configuration. More info:
# - https://github.com/anishathalye/dotbot
#
# @todo split based on use case
# - e.g. shell-only, ui (by platform)
#
# @audit make sure these are idempotent
# MacOS
- shell:
- command: defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
description: Enabling key key repeat
if: '[ "$(uname)" = Darwin ]'
- command: defaults write com.googlecode.iterm2 PrefsCustomFolder
"$HOME/.config/iterm2"
description: Setting iTerm2 config directory
if: '[ "$(uname)" = Darwin ]'
- command: xcode-select --install
description: Installing Xcode CLI tools
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 ]'
- command: brew services start skhd
description: Registering skhd
if: '[ "$(uname)" = Darwin ]'
- command: brew services start yabai
description: Registering yabai
if: '[ "$(uname)" = Darwin ]'
- shell:
- [chsh -s "$(command -v zsh)", Making zsh the default shell]
- [$HOME/.zprezto/init.zsh, Initializing prezto]
- [source $HOME/.zshrc, Loading installed zsh settings] # @todo maybe unnecessary with prezto
- [
vim -es -u vimrc -i NONE -c "PlugInstall" -c "qa",
Installing Vim plugins,
]
- [nvm install --lts, Installing Node.js LTS]
- [npm install -g npm, Upgrading npm]
- [npm install -g, Installing npm packages]
#
# Updates
#
# 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 packages
if: '[ "$(uname)" = Darwin ]'
- command: brew upgrade
description: Upgrading homebrew packages
if: '[ "$(uname)" = Darwin ]'
- command: mas upgrade
description: Upgrading App Store apps
if: '[ "$(uname)" = Darwin ]'
- command: sudo apt update
description: Updating packages
if: '[ "$(uname)" = Linux ] '
- command: sudo apt upgrade
description: Upgrading packages
if: '[ "$(uname)" = Linux ] '
- command: sudo apt autoremove
description: Pruning packages
if: '[ "$(uname)" = Linux ] '
- command: nvm upgrade
description: Upgrading nvm
- command: npm -g update
description: Updating npm
- command: npm -g upgrade
description: Upgrading npm