-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.conf.yaml
111 lines (83 loc) · 3.49 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
- defaults:
link:
relink: true
shell:
quiet: true
- shell:
- description: Validating sudo credentials
command: "sudo --validate"
- description: Installing XCode Command Line Tools
command: "[ -x \"$(which xcodebuild)\" ] || xcode-select --install"
- clean: ['~']
- create:
- ~/Code
- ~/.tmux/plugins
- ~/bin
- ~/.config/karabiner/karabiner.json
- link:
# Binaries
~/bin/epoch: bin/epoch
~/bin/$: bin/$
~/bin/capitalize: bin/capitalize
~/bin/upper: bin/upper
~/bin/lower: bin/lower
~/bin/title: bin/title
~/bin/xkcd: bin/xkcd
~/bin/unzlib: bin/unzlib
# Git
~/.gitconfig: git/gitconfig
~/.gitignore_global: git/gitignore_global
~/.git_allowed_signers: git/git_allowed_signers
~/.config/catppuccin.gitconfig: git/catppuccin.gitconfig
# Kitty shell
~/.config/kitty: kitty
# Karabiner, Hammerspoon and Goku
~/.config/karabiner.edn: karabiner/karabiner.edn
~/.hammerspoon: hammerspoon
# Mackup
~/.mackup.cfg: macos/mackup.cfg
# Tmux
~/.tmux.conf: tmux/tmux.conf
# Nvim
~/.config/nvim: vim
# Zsh
~/.zshrc: zsh/zshrc
- shell:
- description: Installing Homebrew
command: "[ -x \"$(which brew)\" ] || /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)\""
- description: Updating Homebrew
command: "brew update"
- description: Installing brew bundler
command: "brew tap homebrew/bundle"
- description: Installing Brewfile bundle
command: "brew bundle --file=macos/Brewfile"
stdout: true
stderr: true
# Hide "last login" line when starting a new terminal session
- description: Hushing login
command: "[ -f ~/.hushlogin ] || touch ~/.hushlogin"
- description: Adding ZSH to list of acceptable shells
command: "[[ \"$(ag $(which zsh) /etc/shells)\" ]] || sudo sh -c \"echo $(which zsh) >> /etc/shells\""
- description: Making ZSH the default shell
command: "sudo chsh -s $(which zsh)"
- description: Installing ZSH autocompletions
command: "git clone https://github.com/zsh-users/zsh-completions ${DOTFILES}/zsh/plugins/zsh-completions 2> /dev/null || exit 0"
- description: Installing ZSH autosuggestions
command: "git clone https://github.com/zsh-users/zsh-autosuggestions ${DOTFILES}/zsh/plugins/zsh-autosuggestions 2> /dev/null || exit 0"
- description: Installing ZSH syntax highlighting
command: "git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${DOTFILES}/zsh/plugins/zsh-syntax-highlighting 2> /dev/null || exit 0"
- description: Installing git-trim
command: "git clone https://github.com/jasonmccreary/git-trim.git ${DOTFILES}/zsh/plugins/git-trim 2> /dev/null || exit 0"
- description: Installing tmux plugins
command: "git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm || exit 0"
- description: Install Starship's "Pure" prompt preset
command: "starship preset pure-preset > ~/.config/starship.toml || exit 0"
- description: Clear sudo credential cache
command: "sudo --reset-timestamp"
- description: Installing bat's theme
command: "mkdir -p \"$(bat --config-dir)/themes\" && wget -P \"$(bat --config-dir)/themes\" https://github.com/catppuccin/bat/raw/main/themes/Catppuccin%20Mocha.tmTheme && bat cache --build || exit 0"
# Install `gh` extensions
- ghe:
- dlvhdr/gh-prs
- mislav/gh-branch
- korosuke613/gh-user-star