- Adjust settings
- disable scroll direction: natural
- allow watch to unlock mac
- require password 5 seconds after screen saver
- clear apps from dock and move dock to left
-
install homebrew
-
install Rosetta
sudo softwareupdate --install-rosetta
-
install brew packages
brew install docker docker-compose gh fish cowsay bpytop postgresql starship magic-wormhole cmatrix neofetch the_silver_searcher pre-commit tmux ngrok awk
- install brew casks
brew tap homebrew/cask-drivers # for shureplus-motiv
brew install --cask iterm2 visual-studio-code dash docker google-chrome discord slack 1password fantastical rectangle-pro choosy bartender alfred istat-menus postgres-unofficial trailer obs screenflow shureplus-motiv homebrew/cask-fonts/font-fira-code font-fira-code-nerd-font cloudflare-warp postico
- install oh my fish and change shell to fish
curl -L https://get.oh-my.fish | fish
sudo bash -c 'echo $(which fish) >> /etc/shells'
chsh -s $(which fish)
- login to 1 password
- setup gh (
gh auth login
) - setup apps
- iterm: set font to Fira Code, add dracula theme
- chrome: login, set up TD and client profiles
- choosy: set as default browser and setup personal, td, and client rules
- alfred: enable shortcut and clippboard history
- rectangle-pro: change shortcuts
- download dank mono font
- vs code: login and sync settings
- fantastical: login
- discord: login
- slack: login (testdouble google, [email protected] and [email protected])
- trailer: create personal access token and setup repos
-
edit ~/.config/fish/config.fish (at bottom of file)
-
edit ~/.config/startship.toml (bottom of file)
-
install asdf via git https://asdf-vm.com
-
setup elixir, erlang and nodejs
asdf plugin-add erlang; asdf plugin-add elixir; asdf plugin-add nodejs
-
install erlang deps (see https://github.com/asdf-vm/asdf-erlang#osx)
brew install autoconf wxwidgets [email protected] libxslt fop
12.configure git git config --global push.autoSetupRemote true; git config --global user.email [email protected]; git config --global init.defaultBranch main
Client specific
brew install direnv libvips
# add `direnv hook fish | source` to config.fish
fish.config:
set fish_greeting "$(cowsay -f small 'Hello Joseph')"
direnv hook fish | source
starship init fish | source
source ~/.asdf/asdf.fish
export KERL_CONFIGURE_OPTIONS="
--disable-debug \
--disable-silent-rules \
--without-javac \
--enable-shared-zlib \
--enable-dynamic-ssl-lib \
--enable-threads \
--enable-kernel-poll \
--enable-wx \
--enable-webview \
--enable-darwin-64bit \
--enable-gettimeofday-as-os-system-time \
--with-ssl=$(brew --prefix [email protected]) \
"
export KERL_BUILD_DOCS=yes
export ERL_AFLAGS="-kernel shell_history_enabled"
starship.toml
command_timeout = 1000
[character]
success_symbol = "[∴](bold green)"
error_symbol = "[✗](bold red) "
[package]
disabled = true
[git_branch]
style = "bold yellow"
[git_metrics]
disabled = false
format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
deleted_style = "bold purple"
[git_status]
ahead = "⇡${count}"
diverged = "⇕⇡${ahead_count}⇣${behind_count}"
behind = "⇣${count}"
[elixir]
style = "bold blue"
[cmd_duration]
style = "inverted bold yellow"
min_time = 2_000
show_milliseconds = true
[sudo]
disabled = false
style = "bold green"
[line_break]
disabled = false
[hostname]
ssh_only = false
trim_at = ""
[username]
show_always = true
format = "[$user]($style)@"
style_user = "yellow bold"
[directory]
truncation_length = 1
truncation_symbol = ""
repo_root_style = "bold red"
fish_style_pwd_dir_length = 1
[[battery.display]]
threshold = 85
[time]
disabled = false
format = '🕯️ [$time]($style) '
time_format = "%T"
time_range = "21:00:00-07:00:00"