Skip to content

The perfect bash setup with installation. You can easily add your own files.

Notifications You must be signed in to change notification settings

trademark-bot/mac-setup

 
 

Repository files navigation

The perfect setup

VS Code Font: Fira Code

  1. Download and install variable font version: https://github.com/tonsky/FiraCode/releases/tag/6.2
  2. In VS Code cmd + , to open settings
  3. Search for Font Family and add 'Fira Code' in the Editor: Font Family filed
  4. Search for Ligatures and open the settings.json
  5. Make sure it says "editor.fontLigatures": true
  6. Restart VS Code and enjoy

Git

Avoid having to force push for not setup branches

git config --global --add --bool push.autoSetupRemote true

Homebrew & apps

1. Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

2. Install apps via homebrew

Run brew bundle from within this directory to install all apps form the Brewfile.

brew bundle

3. Backup apps via homebrew

To create a bundle file run brew bundle dump. However casks are not added. It is better to edit the Brewfile by hand.

Zsh (pure)

Pure is installed via homebrew with the Brewfile from this package. If you want to install it manually run brew install pure.

Once installed you must add the following line to ~/.zshrc. Replace Repos/mac-setup with the correct location on your machine.

source "$HOME/Repos/mac-setup/zsh/.zshrc"

Keyboard remapping

Create file

mkdir ~/Library/KeyBindings && cd ~/Library/KeyBindings && touch DefaultKeyBinding.dict

Edit file

cd ~/Library/KeyBindings && code DefaultKeyBinding.dict

Paste into the file

{
  /* Ctrl + numpad . => , */
  "~#." = ("insertText:", ",");
}

Restart app to activate commands

More info:

Activate additional fonts

Mac OS Catalina comes with some high quality fonts that are not activated by default, an exhaustive list can be found on support.apple.com.

To activate the fonts:

  • open the FontBook application
  • switch to “All Fonts”
  • Browse the font list, you will see many greyed out font families
  • this is because they were deactivated or they weren’t downloaded yet.
  • right-click on a font or font family that wasn’t downloaded yet, select the option to download the individual font or entire family

Great font families are:

Font families:

  • Canela from Commercial Type in 16 styles
  • Domaine Display from Klim Type Foundry in 6 styles
  • Founders Grotesk by Klim Type Foundry in 17 styles
  • Graphik by Commercial Type in 18 styles
  • Produkt by Commercial Type in 8 styles
  • Proxima Nova by Mark Simonson Studio in 12 styles
  • Publico by Commercial Type in 12 styles

Individual display fonts:

  • Sauber Script by TypeJockeys
  • Quotes Caps and Quotes Script by Sudtipos

Useful software

Topic Software
Design Adobe Suite, Figma, Contrast or Contraste, Sim Daltonism
Code Fig, Homebrew, VS Code
Productivity Google Drive, Notion, Spotify, 1Password, Magnet, Raycast

About

The perfect bash setup with installation. You can easily add your own files.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 86.5%
  • Lua 9.5%
  • JavaScript 2.4%
  • CSS 1.2%
  • Ruby 0.4%