Skip to content

Latest commit

 

History

History
144 lines (125 loc) · 3.55 KB

File metadata and controls

144 lines (125 loc) · 3.55 KB

mac setup

First things first...

  1. Install Homebrew

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

    brew install aria2
    brew install bat
    brew install curl
    brew install fasd
    brew install fd
    brew install findutils
    brew install fzf
    brew install git
    brew install gnu-getopt
    brew install gnu-indent
    brew install gnu-sed
    brew install gnu-tar
    brew install grep
    brew install gawk
    brew install gcc
    brew install openssl
    brew install htop
    brew install httpie
    brew install imagemagick
    brew install jq
    brew install nano
    brew install rename
    brew install ripgrep
    brew install sd
    brew install starship
    brew install terminal-notifier
    brew install tmux
    brew install tree
    brew install watch
    brew install wget
    brew install xsv
    brew install zinit
    brew install zstd
    
    brew install iterm2 # Better terminal
    brew install monitorcontrol # Control external monitor brighness
    brew install rectangle # Window snapping/tiling
    brew install sensiblesidebuttons # Enable mouse side buttons
  3. Complete fzf install

    $(brew --prefix fzf)/install --all
    
  4. Other stuff

    mkdir ~/.cache
    touch .hushlogin
  5. Copy .zshrc to ~/.zshrc

  6. Install iterm2 utilities

    zsh -c 'curl -L https://iterm2.com/shell_integration/install_shell_integration_and_utilities.sh | bash'
  7. Fix Home/End etc.

Other stuff

Useful apps

brew install alt-tab # Better alt tab (actually opt+tab)
brew install appcleaner # App uninstaller
brew install dbeaver-community # Database/SQL client
brew install firefox
brew tap homebrew/cask-fonts && brew install font-hack-nerd-font # Best monospace font
brew install google-chrome
brew install google-drive
brew install hot # CPU temp / Fan monitor
brew install iina # Video player
brew install slack
brew install spotify
brew install whatsapp
brew install yacreader # Comic book reader

Remote Access VPN

Python

brew install python
brew install pyenv
brew install pyenv-virtualenv
brew install black
brew install flake8

Add the following to your ~/.zshrc

export PYENV_VIRTUALENV_DISABLE_PROMPT=1
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

Java, Scala and other JVM

Use sdkman to install and manage java, scala, maven etc.

curl -s "https://get.sdkman.io" | bash

Example install of java and maven:

# Install both java 8 and 18 but use java 8
sdk i java 8.332.08.1-amzn
sdk i java 18.0.1-amzn
sdk u java 8.332.08.1-amzn
# Install maven
sdk i maven 3.8.6

ssh

~/.ssh/config

StrictHostKeyChecking no
ForwardAgent yes

# Share multiple sessions over a reusable connection socket (faster since you only need to auth once)
# If you have lots of concurrent connections to the same server doing heavy data transfer, disable this.
ControlMaster auto
ControlPath ~/.ssh/socket-%r@%h-%p
ControlPersist 600

Color Schems for iTerm (and others)

https://github.com/mbadolato/iTerm2-Color-Schemes