Code Monkey home page Code Monkey logo

macos-setup's Introduction

macOS setup

CI Renovate enabled Mergify enabled

macOS Homebrew-based setup.

Factory reset

Apple support guide: link.

Setup

  • System Preferences
    • customise Sharing -> Computer Name,
    • Apple ID login, etc.
  • restart
  • App Store: login
  • Homebrew: install (guide) and restart terminal app
  • OhMyZSH: install (guide) and restart terminal app
  • official JetBrains Mono font (home)
  • run the main installation script, then launch each installed cask to configure them
./install.sh
  • GitHub SSH key: generate and set (guide)
  • git: set global configuration, user name and email (guide)
./git_global_configs.sh
git config --global user.name <GITHUB_USER_NAME>
git config --global user.email <GITHUB_USER_EMAIL>
  • pass: run the install script then set your GPG keys and private passwords git repo (follow private notes)
./pass_install.sh
  • environment managers
./jenv_install.sh

# Run the following to make sure JAVA_HOME gets set.
# N.B.: JDK paths must be added to jEnv first!
jenv enable-plugin export
./rbenv_install.sh
./nvm_install.sh
./pyenv_install.sh
  • dot-files (repo)
  • Neovim: install the vim-plug plugin manager (guide), then install nvim plugins and CoC extensions with
nvim -c "PlugInstall|qa" ; nvim
  • Ruby gems: run gem update after initialising rbenv and setting the global Ruby version to the desired default one.
  • uni - Unicode query CLI tool (repo)
./uni_install.sh
  • IntelliJ IDEA: Settings -> Settings Sync with your email.

  • alacritty - new instance shortcut:

    • setup the Apple Automator workflow with cp -R NewAlacrittyInstance.workflow ~/Library/Services/, then launch System Preferences -> Keyboard -> Shortcuts and set the Services | General -> NewAlacrittyInstance shortcut to ⌥⌘/. N.B.: restart the system or each individual app to enable the shortcut on them (killall Finder included).
    • after stow-ing Alacritty's dotfile/scripts, run ln -s ~/bin/alacritty_new_window_same_dir.sh /usr/local/bin/alacritty_new_window_same_dir.sh

TODOs

  • New space with terminal on display 1: setup base script with cp create_new_space_with_terminal.scpt ~/bin/, then setup Apple Automator workflow with cp -R NewSpaceWithTerminalOnDisplay1.workflow ~/Library/Services/, then launch System Preferences -> Keyboard -> Shortcuts and set the Services | General -> NewSpaceWithTerminalOnDisplay1 shortcut to ⌥⌘1. N.B.: restart the system or each individual app to enable the shortcut on them (killall Finder included).

  • New space with terminal on display 2: setup base script with cp create_new_space_with_terminal.scpt ~/bin/, then setup Apple Automator workflow with cp -R NewSpaceWithTerminalOnDisplay2.workflow ~/Library/Services/, then launch System Preferences -> Keyboard -> Shortcuts and set the Services | General -> NewSpaceWithTerminalOnDisplay2 shortcut to ⌥⌘2. N.B.: restart the system or each individual app to enable the shortcut on them (killall Finder included).

macos-setup's People

Contributors

horothesun avatar horothesun-renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hesterjvs

macos-setup's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • ludeeus/action-shellcheck 2.0.0

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • ludeeus/action-shellcheck 2.0.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.