-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
51 lines (37 loc) · 2.45 KB
/
install.sh
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
# new mac came with xcode tools finally
# xcode-select --install
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew bundle
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" --unattended
chsh -s /usr/local/bin/zsh
# may need to run the above and launch zsh, and also add it to etc/shells but didn't seem like it
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
stow stows -t ~ --dotfiles
# vimrc one for convenience only, neovim uses init.vim
ln -s ~/.vimrc ~/.config/nvim/init.vim
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
ln -s ./coc-settings.json ~/.config/nvim/coc-settings.json
luarocks install fennel
git clone https://github.com/agzam/spacehammer ~/.hammerspoon
ln -s ./kitty ~/.config/kitty
git clone --depth 1 https://github.com/dexpota/kitty-themes.git ~/.config/kitty/kitty-themes
git clone https://github.com/butterywombat/nord-kitty.git ~/code/opensource
ln -s ~/code/opensource/nord-kitty/Nord.conf ~/.config/kitty/kitty-themes/Nord.conf
# this is kinda convoluted, maybe some other impl
npm install -g yarn bunyan eslint create-react-app gulp gtop leetcode-cli mocha ndb nodemon prettier serve sinon source-map-explorer standard typescript
# note npm installs yarn (as recommended) so must do this step before going into neovim and PlugInstalling
# note not sure where exa aliases live - l=ls -lah
. macSettings.sh
# TODO these dont seem to be working?
#
# make sure to sign in to CODE and get settings, and webstorm, datagrip with licenses
# FOR LC:
# remember to 1) copy .npmrc over for artifactory, 2) copy keysecure (also has zscaler certs), 2.5) copy zscaler cert to end of /etc/ssl/cert.pem 3) install git pr script 4) make sure debugging tests/server/client, running tests on jenkins all work + in various editors/tools if needed
# TODO:
# 2.6) zscaler workaround for datagrip (sync settings) other intelliJ
# TODO still strange: vscode doesn't detect node
# I think these are buggy
# git clone https://github.com/dxuehu/webstormsettings.git ~/code/webstormsettings
# also not sure if the gitconfigs are working properly