Skip to content

batjaa/settings

Repository files navigation

Batjaa's dotfiles

Shell setup

  1. Use Safari to add your SSH keys to github. Clone the repository. In macos terminal simply bash will do.
# generate ssh key
ssh-keygen -t ed25519 -C "your_email@example.com"

# copy public key to clipboard
pbcopy < ~/.ssh/id_ed25519.pub
  1. To update, cd into your local dotfiles repository and then (remember to use bash):
source bootstrap.sh

Alternatively, to update while avoiding the confirmation prompt:

set -- -f; source bootstrap.sh
  1. Here’s an example ~/.path file that adds /usr/local/bin to the $PATH:
export PATH="/usr/local/bin:$PATH"
  1. Add custom commands without creating a new fork to ~/.extra
# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
GIT_AUTHOR_NAME="Batjaa Batbold"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="batjaa0615@gmail.com"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"

MacOS setup

  1. Get Homebrew and then run ./brew.sh

  2. Set defaults: ./.macos

  3. Configure Hammerspoon

  4. Install Hammerspoon

brew install hammerspoon
  1. Install SpoonInstall
unzip ~/Downloads/SpoonInstall.spoon.zip -d ~/.hammerspoon/Spoons/
  1. Copy config
cp .hammerspoon/init.lua ~/.hammerspoon/init.lua

Google drive

  • Sign in
  • Configure to mirror files instead of streaming

Alfred setup

  • Apply license
  • Update hotkey
  • Enable clipboard history - change hotkey to cmd+shift+c

Thanks to…

About

Environment settings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published