/configs

My config files so I can get started from anywhere :D

Primary LanguageShell

configs

Dotfiles and script to install programs

1. Install symlinks

./install_symlinks

2. Install homebrew

NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

You may need to run one of the outputted commands to temporarily add brew to your path.

3. Install programs from Brewfile

brew bundle install --file ./homebrew/Brewfile

4. Set fish as default shell

Add fish to the list of valid shells

echo $(which fish) | sudo tee -a /etc/shells

Change the default shell

chsh -s $(which fish)

Alternatively

sudo chsh -s $(which fish) $(whoami)

You might need to reboot after this one.

5. (Optional) Install casks

brew bundle install --file ./homebrew/casks/Brewfile

6. (Optional) Sign in to 1password CLI

You can use a service account token using ./fish/local_config.fish.

Read the documentation for more.

7. (MacOS Only) Disable font smoothing

If fonts look jagged on external monitors, you can run this to disable font smoothing. Hopefully it looks better.

defaults -currentHost write -g AppleFontSmoothing -int 0
sudo reboot

8. Use SSH for GitHub CLI

The GitHub CLI clones using HTTPS by default, which isn't my preferred option. Run this command to make it use SSH instead.

gh config set git_protocol ssh