- (install 1Password)[https://1password.com/downloads/mac]
- doing it first to get access to github ssh key
- enable ssh agent: Settings -> Developer -> Enable SSH Agent
- clone this repo
-
install Ghostty
- set path to config (run in this folder)
mkdir -p ~/.config/ghostty && echo "config-file = $(pwd)/ghostty/config" > ~/.config/ghostty/config
- ghostty will ask for premissions to be able to assign global hotkey
- set path to config (run in this folder)
-
change
ZSH_CUSTOM
to point to zsh/custom folder in this repo andZSH_THEME
tokroleg
sed -i.bak \ -e "s|^#.*\(ZSH_CUSTOM=\).*|\1\"$PWD/zsh/custom\"|" \ -e "s|^\(ZSH_THEME=\).*|\1\"kroleg\"|" ~/.zshrc cat ~/.zshrc | grep -E "^ZSH_CUSTOM|^ZSH_THEME"
-
restart terminal
- install Homebrew from .pkg
- install stuff from brewfiles:
brew bundle install
for base stuffbrew bundle install --file devops.Brewfile
for work related stuff- After: To install useful key bindings and fuzzy completion:
$(brew --prefix)/opt/fzf/install
Should have been installed via brew above You need to also:
- export settings from prev laptop
- import into new one
Installed via brew You need to also:
- turn on settings sync
git config --global user.name "YOUR NAME"
git config --global user.email "YOUR EMAIL"
git config --global core.excludesfile "$(pwd)/git/global-gitignore"
setup personal git email for this repo
git config user.email "***@gmail.com"
- Log in to google accounts in Apple Preferences > Internet Accounts
- setup alt+Tab to switch windows
- Pref -> Keyboard -> Keyboard shortcuts -> Keyboard - Moved focus to next window
- disable hot corners
- map capslock to
Esc
- allow to use tab to switch between buttons in system popups
- go to Preferences -> Keyboard -> turn ON Keyboard navigation
- disable unwanted shortcuts in Preferences -> Keyboard -> Shortcuts (especially Services -> Text)
- Screenshots should go to Pictures folder
- Press Command + Shift + 5.
- Click on Options.
- Now either pick a folder that is listed, or choose Other Location.
- If you choose Other Location you can navigate to the folder you wish the screenshot to go to, or create a folder if required.
- Once you have changed the location that is where your screenshots will go until you change the location again.
It was installed via brew but need to enable it in VSCode (docs)
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": "=>,==,->,>=",