-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.conf.yaml
104 lines (92 loc) · 2.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
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
- defaults:
stdin: false
link:
create: true
relink: true
- clean:
~/:
force: true
# - - - - - - - - - - - - - - - - - - - -
# SSH
# - - - - - - - - - - - - - - - - - - - -
- create:
~/.ssh:
mode: 0700
~/src:
- shell:
- touch ~/.ssh/known_hosts
- [
ssh-keyscan -H github.com >> ~/.ssh/known_hosts,
adding github to known hosts,
]
- description: generate ssh key if not exists
command: >
[ -f "$HOME/.ssh/id_rsa" ] ||
ssh-keygen -f "$HOME/.ssh/id_rsa" -qt rsa -b 4096 -N ""
-C $(git config --global --get user.email)
- link:
~/.ssh/config: ssh/config
# - - - - - - - - - - - - - - - - - - - -
# Terminal
# - - - - - - - - - - - - - - - - - - - -
# - link:
# ~/.zshrc: zsh/rc
# ~/.zshenv: zsh/env
# ~/:
# glob: true
# path: zsh/*[!rc|env]
# prefix: "."
- link:
# shell
~/.alias.sh: shell/alias.sh
~/.config/fish/config.fish: config/fish/config.fish
"~/Library/Application Support/iTerm2/Scripts/AutoLaunch/":
glob: true
path: config/iterm/scripts/*
~/.config:
glob: true
path: config/*
exclude: [config/fish]
- link:
~/.gitignore: git/ignore
~/.gitconfig: git/config
~/.gitattributes: git/attributes
# - - - - - - - - - - - - - - - - - - - -
# Homebrew
# - - - - - - - - - - - - - - - - - - - -
- shell:
- description: install homebrew
command: >
if [[ $(command -v brew) == ' ]]; then
echo | /usr/bin/ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)';
fi
stdout: true
stdin: true
- brewfile:
file: config/brewfile/Brewfile
stdout: true
stderr: true
include: ["tap", "brew", "cask", "mas"]
# - - - - - - - - - - - - - - - - - - - -
# Languages
# - - - - - - - - - - - - - - - - - - - -
- asdf:
- plugin: nodejs
url: https://github.com/asdf-vm/asdf-nodejs.git
global: lts
versions:
- lts
- latest
- plugin: yarn
url: https://github.com/twuni/asdf-yarn
global: latest
versions: [latest]
- plugin: ruby
url: https://github.com/asdf-vm/asdf-ruby.git
global: latest
versions: [latest]
- shell:
- open config/iterm/themes/*.itermcolors
- [touch ~/.hushlogin] # supress last login info
- [sudo chsh -s $(which fish) $(whoami), Making fish the default shell]
- [git submodule update --init --recursive, Installing submodules]