Skip to content

anthlam/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anth's dotfiles

Usage

Quick Install

From your $HOME directory, run:

curl https://raw.githubusercontent.com/anthlam/dotfiles/master/.macos | bash

Manual Install

If you want to review and customize before installing:

  1. Clone the repo:

    git clone git@github.com:anthlam/dotfiles.git "${HOME}/code/me/dotfiles"
  2. Review and customize the .macos script and dotfiles as needed.

  3. Run the setup script:

    bash "${HOME}/code/me/dotfiles/.macos"

The .macos script will:

  • Install Homebrew
  • Generate SSH keys for GitHub
  • Symlink all dotfiles to your $HOME directory
  • Install all packages from .brewfile
  • Set up neovim configuration
  • Set up fzf key bindings and fuzzy completion
  • Install and configure Spacemacs
  • Install nvm and latest Node.js LTS
  • Configure macOS system preferences

Optional Post-Install

  • Install language/tool specific packages:
    • brew install python postgresql elixir
    • Install RVM
    • Install desired ruby versions using rvm

Environment-Specific Configuration

.secrets - Sensitive Data

For API keys, tokens, and other secrets that should not be committed to the repo:

  1. Copy the example file:
    cp "${HOME}/code/me/dotfiles/.secrets.example" "${HOME}/.secrets"
  2. Add your actual secret values to ~/.secrets
  3. Secure the file: chmod 600 ~/.secrets

This file is loaded by .bashrc but is never symlinked or committed to git.

.work - Work-Specific Configuration

For work computer customizations (aliases, paths, functions) that differ from your personal setup:

  1. Copy the example file:
    cp "${HOME}/code/me/dotfiles/.work.example" "${HOME}/.work"
  2. Add your work-specific configuration to ~/.work

This allows you to use the same dotfiles repo on both personal and work machines while maintaining environment-specific customizations.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published