erikdstock / dotfiles

my dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

Dotfiles managed with dotbot.

Anyone forking this: be sure to remove or update any references to my personal information. Try searching for my name.

Usage

Mac

If using strap authenticated with github: Strap will automatically clone and install dotfiles and the ~/.Brewfile. See more tips to investigate here.

If not: clone this directory to ~/.dotfiles and run ./install. To install brew dependencies run brew bundle from ~/.dotfiles/homedir.

Brew casks

To install GUI applications using homebrew, double-check the contents of ./Caskfile and then run brew bundle --file=./Caskfile.

Organization

  • ./install: Run this to symlink dotfiles from /homedir to your $HOME directory.
  • ./homedir: location of all loading scripts (.bash_profile, .vimrc etc) to be symlinked to $HOME
  • ./initializers: Scripts shared and loaded from multiple dotfiles (eg PATH, aliases)
  • [./scripts](./scripts): setup+strap-after-setup` are automatically run around the strap process. But maybe you would like to run them too.

Followups

  • Some GUI applications like backblaze require manual installation.
  • Activate icloud storage for documents if you want.
  • Set up vundler
  • If you have a $HOME/.keys/.env your zshrc/bashrc will source it- For example you may be able to do git clone my-encrypted-repo.git ~/.keys with, inside, a .env like this:
#!/usr/bin/env bash
echo "loading secrets"
export AWS_ACCESS_KEY_ID=abc123
export PASSWORD=password123!

Apple environment setup that I might run

# Disabling key repeats for different text editors in osx
# To figure out the setting for an app you don't know, do something like `defaults read | grep intellij`
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false

# disable the accent menu globally
defaults write -g ApplePressAndHoldEnabled -bool false

# Set custom screencapture location
defaults write com.apple.screencapture location "$HOME/Documents/Screenshots"; killall SystemUIServer

About

my dotfiles


Languages

Language:Shell 67.3%Language:Vim Script 29.3%Language:Ruby 3.4%