-
Notifications
You must be signed in to change notification settings - Fork 0
/
install
executable file
·211 lines (181 loc) · 4.73 KB
/
install
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
#!/usr/bin/env bash
# Go Mono https://blog.golang.org/go-fonts#TOC_2.
main() {
if [ $# != 1 ]; then
echo "Usage: $0 <git_global_config_user.signingkey>"
return 1
fi
signingkey=$1
curl https://raw.githubusercontent.com/thameera/vimv/master/vimv > /usr/local/bin && \
chmod 755 /usr/local/bin
if brew --version; then
echo brew is already installed
else
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
brew install \
.lynx \
autojump \
ctags \
direnv \
fd \
fzf \
git \
git-crypt \
gnupg \
hr \
hub \
jq \
mas \
ncdu \
node \
node@10 \
noti \
ripgrep \
shellcheck \
shfmt \
tig \
typescript \
vim \
watchman
# brew install \
# asciinema \
# bat \
# cask-repair \
# elixir \
# erlang \
# exercism \
# fpp \
# gitlab-gem \
# gitup \
# nnn \
# octave \
# rmtrash \
# phantomjs \
# python-yq \
# surfraw \
# screen \
# todo-txt \
# w3m \
# tldr \
# zbar
# brew tap browsh-org/homebrew-browsh && \
# brew install browsh-org/browsh/browsh
brew cask install homebrew/cask-versions/firefox-developer-edition
brew cask install \
brave-browser \
chromium \
clipy \
drawio \
firefox \
gimp \
karabiner-elements \
keepassxc \
keybase \
mongodb-compass \
mongodb-compass-readonly \
react-native-debugger \
postman
remember-the-milk \
slack \
spectacle \
vagrant \
virtualbox \
vivaldi \
zoomus
brew cask install \
dropbox \
wechatwebdevtools \
xmind-zen \
zoho-mail
brew cask install \
adobe-acrobat-reader \
anki \
chromedriver \
opera \
operadriver \
origin \
skype \
steam \
syncthing \
toggl \
tor-browser \
virtualbox-extension-pack \
# brew cask install \
# android-file-transfer \
# devdocs \
# google-chrome \
# insomnia \
# libreoffice \
# notion \
# polar-bookshelf \
# quicklook-json \
# rescuetime \
# robo-3t \
mas install \
# Battery-Diag (2.4.3)
# 836505650 \
# Be Focused (1.7.5)
# 973134470 \
# gifgrabberosx (4.1)
# 668208984 \
# KeyboardLocker (1.0)
# 1444996429 \
# LINE (5.16.2)
539883307 \
# metacode (1.8.15)
# 1454994142 \
# PocketMac (1.8.2)
# 568494494 \
# Thor (1.3.1)
1120999687
npm install \
# for create-react-native-app
expo-cli \
pnpm
if rustc --version; then
echo rust is installed
else
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
fi
git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it &&
~/.bash_it/install.sh
ln -fs "$PWD/"{.bash_it_custom,\
.bash_profile,\
.bashrc,\
.ctags.d,\
.curlrc,\
.editrc,\
.fdignore,\
.gitconfig,\
.gitignore,\
.inputrc,\
.livebookdesktop.sh,\
.qutebrowser,\
.surfraw.conf,\
.todo.cfg,\
.tigrc,\
.vim,\
.vimrc,\
tsconfig.json} ~
ln -fs "$PWD/.config/karabiner/karabiner.json" ~/.config/karabiner/karabiner.json
ln -fs "$PWD/.config/starship.toml" ~/.config/starship.toml
ln -fs "$PWD/.config/git" ~/.config/git
ln -fs "$PWD/.config/lsd" ~/.config/lsd
ln -fs "$PWD/.config/thefuck/rules" ~/.config/thefuck/rules
ln -fs "$PWD/Library/Preferences/"{espanso,qutebrowser} ~/Library/Preferences
mkdir -p ~/.gnupg/ && ln -fs "$PWD/.gnupg/gpg-agent.conf" ~/.gnupg/gpg-agent.conf
curl -L https://iterm2.com/shell_integration/install_shell_integration.sh | bash
cp .npmrc ~
mkdir -p ~/.cache/vim-gutentags
vim -S ~/.vim/snapshot.vim
IFS='<' read -r name email <<< "$(gpg --list-key "$signingkey" | sed -n 's/uid \[ultimate\] //; 3s/>//g; 3s/ </</; 3p')"
git config --file ~/git/github.com/sharils/home/gitignore.gitconfig user.email "$email"
git config --file ~/git/github.com/sharils/home/gitignore.gitconfig user.name "$name"
git config --file ~/git/github.com/sharils/home/gitignore.gitconfig user.signingkey "$signingkey"
git config --file ~/git/github.com/sharils/home/gitignore.gitconfig --list
}
main "$*"
echo 'REMEMBER:'
echo '- Automatically rearrange Spaces based on most recent use'
echo '- Dashboard: As Overlay'