-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup
More file actions
executable file
·20 lines (15 loc) · 780 Bytes
/
setup
File metadata and controls
executable file
·20 lines (15 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
# This scripts links configuration files from the dotfiles
# repository to the appropriate locations in the user's home
# directory.
# Disable press-and-hold for keys, necessary for properly functioning Vim and VsCode
defaults write -g ApplePressAndHoldEnabled -bool false
ln -sf ~/dotfiles/config/zshrc ~/.zshrc
ln -sf ~/dotfiles/config/gitconfig ~/.gitconfig
ln -sf ~/dotfiles/config/hushlogin ~/.hushlogin
# Set up VsCode settings
ln -sf ~/dotfiles/config/vscode/settings.json ~/Library/Application\ Support/Code/User/settings.json
ln -sf ~/dotfiles/config/vscode/keybindings.json ~/Library/Application\ Support/Code/User/keybindings.json
# Set up Ghostty settings
mkdir -p ~/.config/ghostty
ln -sf ~/dotfiles/config/ghostty ~/.config/ghostty/config