Skip to content

jnericks/dotfiles_archived

 
 

Repository files navigation

@jnericks dotfiles

Forked from https://github.com/holman/dotfiles. If you wish to get a better understanding of how to customize these for your own needs then I would suggest you fork that repo and follow the README there.

These are my dotfiles for development on OS X. These are based upon my current projects/needs, of which I'm currently developing mostly in Golang using VSCode.

I also have special proxy rules for my workplace (Nordstrom) so I have a switch that loads environment settings based upon either the SSID of the wifi I'm connected to or if my VPN tool is currently running.

components

There's a few special files in the hierarchy.

  • bin/: Anything in bin/ will get added to your $PATH and be made available everywhere.
  • Brewfile: This is a list of applications for Homebrew Cask to install: things like Chrome and 1Password and stuff. Might want to edit this file before running any initial setup.
  • topic/*.zsh: Any files ending in .zsh get loaded into your environment.
  • topic/path.zsh: Any file named path.zsh is loaded first and is expected to setup $PATH or similar.
  • topic/completion.zsh: Any file named completion.zsh is loaded 2nd to last.
  • topic/aliases.zsh: Any file named aliases.zsh is loaded last.
  • topic/install.sh: Any file named install.sh is executed when you run script/install. To avoid being loaded automatically, its extension is .sh, not .zsh.
  • topic/*.symlink: Any file ending in *.symlink gets symlinked into your $HOME. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you run script/bootstrap.

install

Prerequisites for fresh install

  • Ensure you have Admin Rights to your MacBook (Settings > Users & Groups > Allow user to administer this computer)
  • Install Oh-My-Zsh (will prompt to install Git/Xcode)
  • Install Homebrew
  • Install Golang (preference is to install manually without using Homebrew)

Run this:

git clone https://github.com/jnericks/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
script/bootstrap

This will symlink the appropriate files in .dotfiles to your home directory. Everything is configured and tweaked within ~/.dotfiles.

The main file you'll want to change right off the bat is zsh/zshrc.symlink, which sets up a few paths that'll be different on your particular machine.

update is a simple script that installs some dependencies, sets sane macOS defaults, and so on. Tweak this script, and occasionally run update from time to time to keep your environment fresh and up-to-date. You can find this script in bin/.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 98.0%
  • Python 1.4%
  • Ruby 0.6%