Skip to content

petterhoel/setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

122 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Automating setup αƒ– πŸ€–

Get started mac 🍏

Install command line developer tools

sudo xcode-select --install

Setup mac settings

sh -c "$(curl -fsSL https://raw.githubusercontent.com/petterhoel/setup/main/mac/set-mac-settings.sh)"

Install apps

install oh my zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

install home-brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/petterhoel/setup/main/mac/installs.sh)"

Setup global git (depends on prev step)

sh -c "$(curl -fsSL https://raw.githubusercontent.com/petterhoel/setup/main/mac/git.sh)"

Setup .zshrc and posh

curl https://raw.githubusercontent.com/petterhoel/setup/main/mac/.zshrc-append >> ~/.zshrc

Set terminal font

oh-my-posh font install

Install zsh plugins

Install oh my zsh plugins. Do not use homebrew as it will now play nice (different install location) with oh my zsh

Ghostty .config

cursor-style = bar
cursor-color = hotpink
adjust-cursor-thickness = 2
font-size = 18
font-thicken = false
quick-terminal-position = top
theme = Catppuccin Mocha
background = #1C1C21
macos-titlebar-style = hidden
macos-non-native-fullscreen=true
window-padding-x = 20
window-padding-y = 20
window-height = 9999
window-width = 140
window-position-x=0
keybind = global:cmd+ctrl+shift+option+t=toggle_quick_terminal
quick-terminal-animation-duration = 0

Get started windows ⊞

Set up devdrive

https://learn.microsoft.com/en-us/windows/dev-drive

Install apps

sh

iwr https://raw.githubusercontent.com/petterhoel/setup/main/windows/installs.bat | iex

Setup global git

iwr https://raw.githubusercontent.com/petterhoel/setup/main/windows/git.bat | iex

Set up terminal

# Install nice stuff
Install-Module posh-git
Install-Module cd-extras

# Set up local profile
curl https://raw.githubusercontent.com/petterhoel/setup/main/windows/profile.ps1 -o $PROFILE

# Install terminal font
oh-my-posh font install

Manual steps 😿

  • Jetbrains settings
  • Dictionary jetbrains
  • Work and personal git credentials
  • install tinkertool (mac)
  • install global protect
  • windows dev drive

About

Automating setup πŸ€–

Resources

License

Stars

Watchers

Forks

Contributors