/configs

Primary LanguagePerl

My OSX / Linux configs

Storage for configs I want to keep synched across computers.

Setup

# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install \
  fnm\
  fzf\
  git\
  gnupg\
  iterm2\
  keybase\
  moom\
  pinentry-mac\
  rustup\
  spotify\
  todoist\
  visual-studio-code zoxide\
  wget

# Install fzf
$(brew --prefix)/opt/fzf/install

# [manual] Install fira code ttf fonts from: https://www.nerdfonts.com/font-downloads
# [manual] Add ssh keys to ~/.ssh

# ZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone --recursive https://github.com/joel-porquet/zsh-dircolors-solarized $ZSH_CUSTOM/plugins/zsh-dircolors-solarized
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
curl -o $ZSH_CUSTOM/themes/bullet-train.zsh-theme https://raw.githubusercontent.com/caiogondim/bullet-train-oh-my-zsh-theme/master/bullet-train.zsh-theme

# Initial configs
mkdir -p ~/src/llwt
cd ~/src/llwt
git clone git@github.com:llwt/configs.git
ln -s ~/src/llwt/configs/dotfiles/.gitconfig ~/.gitconfig
ln -fs ~/src/llwt/configs/dotfiles/.zshrc ~/.zshrc
ln -s ~/src/llwt/configs/bin ~/.bin

# [manual] Configure iterm2 to look in ~/configs/iTerm2

# GPG
# [manual] Login to keybase app and add computer
keybase pgp list # find appropriate pgp key id
keybase pgp export -q <key-id> | gpg --import
keybase pgp export -q <key-id> --secret | gpg --allow-secret-key --import
gpg --edit-key <key-id>
# trust
# 5 // trust ultimately
# y
# passwd // set local passphrase ALTERNATE: gpg --pinentry-mode loopback --passwd KEY
# save

Mac Specifics

Enable key repeat:

defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false

Manual things:

  • Logitech GHub
    • auto turn on light with webcam
  • Logi Options+
    • gHub doesn't want to see my MX Master 3
    • Don't forget to turn off stupid Ai features
  • Add Notion shortcut to dock (Safari: Share -> Add to Dock)
  • Grammarly

App Store: