- Remap caps lock to escape (also swap command and option on the Sculpt keyboard)
- Adjust scroll direction
- Change hostname (instructions for MacOS)
- git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
sudo softwareupdate -i -a
xcode-select --installChange 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 DockInstall Homebrew
change wakeup https://twitter.com/thorstenball/status/1736679960784310775
Clone dotfiles repo to a bare repo:
git clone --bare [email protected]:whatrocks/dotfiles.git $HOME/.cfgDefine 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 checkoutThis 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 nogit 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