Skip to content

Instantly share code, notes, and snippets.

@evrardjp
Last active August 31, 2021 23:54
Show Gist options
  • Save evrardjp/ba270b24a7385a14b9ab161972a116cb to your computer and use it in GitHub Desktop.
Save evrardjp/ba270b24a7385a14b9ab161972a116cb to your computer and use it in GitHub Desktop.
Mac OSx configuration
#!/bin/bash
sudo xcode-select --install # And open xcode to accept license
# INSTALL MACOS X SOFTWARE
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew analytics off
brew install wget mc yubico-piv-tool xz p7zip git ncftp ipcalc mtr
#brew install zsh
brew cask
brew cask install keepassx
brew cask zap amazon-music
brew cask install amazon-music
brew cask install ssh-tunnel-manager
brew cask install spectacle
brew cask install vlc
brew cask install android-file-transfer
# INSTALL PIP packages
#sudo pip install virtualenvwrapper
mkdir -p ~/.ssh
if [ -a ~/.ssh/config ]
then
mv ~/.ssh/config ~/.ssh/config.bak
fi
cat > ~/.ssh/config << EOF
Hostname dev.evrard.eu
User jean-philippe
ForwardAgent yes
Port 443
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
ControlPersist yes
ForwardAgent yes
TCPKeepAlive yes
ServerAliveInterval 60
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa
EOF
echo "Please do the following: "
curl https://gist.githubusercontent.com/evrardjp/ba270b24a7385a14b9ab161972a116cb/raw/e6e532369eadf694f7376fcfe4403e66c600a93b/OSX%2520Manual%2520config
# System Preferences
General:
Sidebar icon size: Small
Disable: Allow Handoff between this Mac and you iCloud devices
Dock:
Enable: Minimize windows into application icon
Language & Region:
Keyboard Preferences:
Text: Disable Correct spelling automatically
Spotlight:
Disable Show Finder search window
Security & Privacy
General: Require password [immediately]
Firewall: Turn On Firewall
Energy Saver:
Enable: Prevent computer from sleeping automatically when the display is off
Bluetooth:
Enable: Show Bluetooth in menu bar
Turn Bluetooth Off
Accessibility:
Mouse & Trackpad:
Trackpad Options: Enable Dragging
iCloud:
Disable everything
Battery:
Show percentage
# Finder
New finder windows show: [home]
Sidebar: Show [home], Show MacBook Pro, Downloads, Desktop, Disable Tags
# iTerm2
Appearance: [x] Show tab bar when there is only one tab
Profiles: Terminal: Unlimited scrollback
Change Background image
Setup Right Sidebar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment