/dotfiles

Primary LanguageShell

My Dotfiles

This is my personal dotfiles. They are managed using:

  • Ansible: Ansible is the simplest way to automate apps and IT infrastructure.
  • Homebrew: for OS X package management
  • pip: The PyPA recommended tool for installing and managing Python packages.

Installation

  1. Install Homebrew

     /bin/bash -c \
     "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  2. Update your profile

     echo 'export PATH=/opt/homebrew/bin:$PATH' >> ~/.zshrc && . ~/.zshrc
    
  3. Install Python

     brew install python && . ~/.zshrc && which pip3 && pip3 install --upgrade pip
    
  4. Install all the things

     pip3 install ansible \
     && git clone https://github.com/epicserve/dotfiles.git .dotfiles \
     && cd ~/.dotfiles && make install
    
  5. Install MacOS apps

    brew tap apppackio/apppack \
    && for app in apppack aws-vault 1password bartender dropbox firefox fork iterm2 pycharm \
            slack sequel-ace zoom visual-studio-code raycast tailscale; do
        brew install $app;
    done
    
  6. Change your default shell

     sudo dscl . -create /Users/$USER UserShell /opt/homebrew/bin/zsh \
     && chsh -s /opt/homebrew/bin/zsh && . ~/.zshrc
    
  7. Change your font for iTerm2 to one of the Powerline fonts like, "Roboto Mono Medium for Powerline."

  8. Apps I install manually.

  9. Settings I change.

    • Increase mouse speed to 9
    • Trackpad: tap to click
  10. Archive and transfer the following folders:

    • ~/Sites
    • ~/.aws
    • ~/Downloads
    • ~/.ssh
    # Create the archive
    $ tar czvf backup.tar.gz ~/Sites/ ~/.aws ~/Downloads ~/.ssh
    
    # Transfer the archive to the new computer using AirDrop or SCP
    
    # Extract archive and then move the files to correct locations
    $ tar xzvf backup.tar.gz
    
  11. Export Sequel Ace connections and copy them to the new computer.

  12. Export and Import Raycast settings.

  13. Create a new AWS access key to add to aws-vault.

Inspiration