Skip to content

npjc/system-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

how i setup new macOS system

Just dipping my toes into this after looking over many others' dotfiles. Step-by-step:

sign into icloud and authorize the device.

install command-line tools.

Expect a prompt, click install.

xcode-select --install

Update all AppStore/macOS software updates

Opens context/mode window. Then install window does the installing.

softwareupdate --install --all

Set up git:

git config --global user.name 'Nicolas PJ Coutin'
git config --global user.email 'nicolas.coutin@gmail.com'
git config --global --list

To authenticate yourself to github (when you work from a private repo) you set that up by cloning a private repo at the command line and when it prompts you for your username you provide it and then it prompts you for your password and you provide that. then:

git config --global credential.helper osxkeychain
git config --global credential.helper 'cache --timeout=10000000'

set defaults for macOS

./macos-set-defaults.sh

install homebrew

interactive 'return',may also prompt for password.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew analytics off

Now make sure Brewfie is in home (e.g.~/Brewfile): cp Brewfile ~/Brewfile.

Note symlinking doesn't work.

brew bundle --verbose
brew cleanup

SYSTEM MANUAL STUFF

Append what is in this folder's .bash_profile to ~/.bash_profile

There is also something else i need to paste for brew bash completion

Can achieve with:

nano .bash_profile

System Preferences

  • Sharing: Change the computer name to 'e11mbp' (for early 2011 mbp) or equivalent mpb82 maybe?.

  • iCloud: Make sure Mail iCloud is turned off (my iCloud email account is empty and has automatic forwarding to my gmail). For iCloud Drive: Turn onDesktop and Documents folders, turn off quicktime player, garage band, iMovie, and Mail app cloud storage.

  • Language & Region: First day of the week to Monday

  • Notifications:

    • everything off for:
      • calendar
      • reminders (as I use fantastical 2 for those things) and
      • mail (i use gmail online for email).
      • iTunes
      • photos
      • safari
      • notes
      • google drive
    • Badges and banners only for messages and fantastical 2.
  • Sound: turn off user interface sound effects

  • Internet Accounts: iCloud and Google. delete everything else. Although having contact information from Facebook, linked in, twitter might beuseful here.

  • Extensions: Google Drive Finder extension ON. share menu: only keep reading list, notes, reminders, add to photos, add people

  • Bluetooth: turn off unless needed.

  • Sharing: Change the computer name to 'e11mbp' (for early 2011 mbp) or equivalent.

  • Users & Groups: Turn off guest user. Turn on automatic login. Right click on my profile and click advanced options, rename to npjc.

  • Date and time: digital clock showing the date.

APPLICATION MANUAL STUFF

  • Log into Google Drive, quit app, rename folder to googledrive, then open and tell it where to find folder.
  • install Safari extensions:
  • RStudio:
    • don't restore from .RData and never save session, only history.
    • Show margin and make it 100 characters.
    • ensure source files end with new line and strip trailing whitespace when saving.
    • disable publishing.
    • Don't convert tabs to spaces (both global and project options. so i can use makefiles).
    • Modify keyboard shortcuts: clear workspace to cmd+shift+F9 so workflow for cleaning up is cmd+shift+f9 then f10
  • Adobe Illustrator
  • Fantastical 2:
    • licence by finding email and clicking the link.
    • General: start week on monday, show 12 hours at a time.
    • Appearance: hide fantastical in menu bar
    • Accounts: add iCloud and gmail account with refresh every 15 minutes.
    • Advanced: open maps in google maps

About

notes to self for setting up a new mbp laptop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published