-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·24 lines (19 loc) · 951 Bytes
/
setup.sh
File metadata and controls
executable file
·24 lines (19 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env zsh
echo 'configuring git'
cp ~/dotfiles/.gitconfig ~/.gitconfig
echo 'configuring git ignore global'
cp ~/dotfiles/.gitignore_global ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
echo 'resetting symlinks'
rm -rf ~/.claude && ln -s ~/dotfiles/claude ~/.claude
rm ~/.zshrc ~/.vimrc.before.local ~/.vimrc.bundles.local ~/.vimrc.local
ln -s ~/dotfiles/.zshrc ~/.zshrc
ln -s ~/dotfiles/.vimrc.before.local ~/.vimrc.before.local
ln -s ~/dotfiles/.vimrc.bundles.local ~/.vimrc.bundles.local
vim +PluginInstall +qall
ln -s ~/dotfiles/.vimrc.local ~/.vimrc.local
# theme requires https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme
cp ~/dotfiles/vscode/settings.json "$HOME/Library/Application Support/Code/User/settings.json"
cp ~/dotfiles/vscode/keybindings.json "$HOME/Library/Application Support/Code/User/keybindings.json"
# uncomment to run macos setup
# ~/dotfiles/.macos