1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2026-01-12 16:32:54 -05:00

add ssh stuff

This commit is contained in:
2020-05-16 10:13:10 -04:00
parent c07b995d2c
commit d508c844b8
8 changed files with 83 additions and 14 deletions

View File

@@ -6,10 +6,10 @@
# https://github.com/paulirish/dotfiles/blob/master/.osx
# https://github.com/kevinSuttle/macOS-Defaults/blob/master/.macos
set -e
# Change new hostname here if necessary
COMPUTER_NAME="JJ-MBP15"
# Quit System Preferences.app if open
osascript -e 'tell application "System Preferences" to quit'
# Ask for the administrator password upfront
@@ -79,9 +79,9 @@ defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
# Disable press-and-hold for keys in favor of key repeat
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
# Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 15
# Set a faster keyboard repeat rate (but not too fast, thanks butterfly keyboard)
defaults write NSGlobalDomain KeyRepeat -int 5
defaults write NSGlobalDomain InitialKeyRepeat -int 25
# Automatically illuminate built-in MacBook keyboard in low light
defaults write com.apple.BezelServices kDim -bool true

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env bash
set -e
# This shouldn't be run if not on macOS, but make double sure
if test ! "$(uname)" = "Darwin"; then
exit 0
fi