- Remap caps lock to escape (also swap command and option on the Sculpt keyboard)
- Adjust scroll direction
- Change hostname (instructions for MacOS)
sudo softwareupdate -i -a
xcode-select --install
Change some settings
defaults write -g InitialKeyRepeat -int 12
defaults write -g KeyRepeat -int 1
defaults write -g ApplePressAndHoldEnabled -bool false
defaults write com.apple.dock autohide-delay -int 0
defaults write com.apple.dock autohide-time-modifier -float 0.4
killall Dock
Install Homebrew
change wakeup https://twitter.com/thorstenball/status/1736679960784310775
Clone dotfiles repo to a bare repo:
git clone --bare git@github.com:whatrocks/dotfiles.git $HOME/.cfg
Define alias in current shell scope:
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
Checkout the actual content from the bare repo to $HOME
config checkout
This step might fail if you have conflicts, so this command can move the offending files to another repo:
mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}
Set the flag `showUntrackedFiles`` to no on this specific (local) repository:
config config --local status.showUntrackedFiles no
git init --bare $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
echo "alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrc
- Atlassian "config" setup for dotfiles
- Thorsten Ball's setup post