/dotfiles

Primary LanguageShellMIT LicenseMIT

Dotfiles

Originally from rkalis/dotfiles.

Usage

  1. Restore your safely backed up ssh keys to ~/.ssh/
    1. Alternatively, generate new ssh keys, and add these to your GitHub account
  2. Install Homebrew and git
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
  1. Clone this repository
git@github.com:plinders/dotfiles.git
  1. Run the bootstrap.sh script
    1. Alternatively, only run the setup.sh scripts in specific subfolders if you don't need everything
  2. (Optional) Install missing applications from the internet
  1. Login to applications, enter license keys, set preferences 6a. Additional configuration files for manual configuration found in misc/

Contents

Root (/)

  • bootstrap.sh - Calls all setup.sh scripts

User Bin (bin/)

  • setup.sh - Symlinks the other contents of the folder to ~/bin/
  • sethidden - A shell script which takes command line arguments to show or hide hidden files
  • togglehidden - A shell script that toggles between showing and hiding hidden files

Duti (duti/)

  • setup.sh - Sets the defaults set up in the different files
  • app.package.id - Contains all extensions for the specified program

Git (git/)

  • setup.sh - Symlinks all git files to ~/
  • .gitignore_global - Contains global gitignores, such as OS-specific files and several compiled files
  • .gitconfig - Sets several global Git variables

Hammerspoon (hammerspoon/)

macOS Preferences (macos/)

  • setup.sh - Executes a long list of commands pertaining to macOS Preferences

Packages (packages/)

  • setup.sh - Installs the contents of the .list files and the Brewfile

Helper Scripts (scripts/)

  • functions.sh - Contains helper functions for symlinking files and printing progress messages

Visual Studio Code (vscode/)

  • setup.sh - Symlinks the settings.json file to ~/Library/Application Support/Code/User
  • settings.json - Contains user settings for Visual Studio Code

zsh (zsh/)

  • setup.sh - Installs Meslo font, oh-my-zsh, sets Agnoster theme