forked from CoreyMSchafer/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmacOS.sh
More file actions
27 lines (20 loc) · 723 Bytes
/
Copy pathmacOS.sh
File metadata and controls
27 lines (20 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env zsh
xcode-select --install
echo "Complete the installation of Xcode Command Line Tools before proceeding."
echo "Press enter to continue..."
read
# Create Code directory in home
mkdir -p ${HOME}/Code
echo "Setting touchID as terminal authentication..."
echo "(may need sudo password)"
sudo cp -v /etc/pam.d/sudo /etc/pam.d/sudo.bak
sudo cp -v settings/sudo /etc/pam.d/
# Enable trackpad tap to click
defaults write com.apple.AppleMultitouchTrackpad Clicking -bool true
# Set Dock to auto-hide
defaults write com.apple.dock autohide -bool true && killall Dock
# Set Dock icon size
defaults write com.apple.dock tilesize -int 42
killall Dock
defaults write com.apple.dock largesize -int 90
killall Dock