Skip to content

justinkuntz/laptop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laptop

Dotfiles and an install/update script:

export LAPTOP="$HOME/laptop"
git clone https://github.com/justinkuntz/laptop.git $LAPTOP
cd $LAPTOP
./laptop.sh

Extras

The following items are not part of the script. They generally are more "one time setup" items.

Keyboard

Configure "System Preferences > Keyboard":

  • Set "Key Repeat" to "Fast".
  • Set "Delay Until Repeat" to "Short".
  • Set "Modifier Keys > Caps Lock Key" to "^ Control".

macOS apps

Install macOS apps:

SSH key

Create an SSH key:

ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -C "$(whoami)@$(hostname)"
eval "$(ssh-agent -s)"
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub | pbcopy

Upload SSH key to GitHub.

Binary malware scans

A macOS feature that scans new binaries for malware adds an extra ~2s on to every build of Go programs, disturbing its fast iteration cycle. Disable it by running:

sudo spctl developer-mode enable-terminal

Then, select terminal program (e.g. kitty.app) at Preferences > Security & Privacy > Privacy > Developer Tools.

About

Laptop setup script and dotfiles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 54.2%
  • Shell 45.8%