Skip to content

pbaggett/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phillip's dotfiles

Initially copied from Andre Azzolini who copied his from Zach Holman, but substantially stripped down for my particular tastes. This used to also utilize oh-my-zsh, but I've found that I'd rather manage my entire configuration by myself, so this no longer requires that.

Usage

Similar steps as Holman's:

  • git clone git:https://github.com/phillipuniverse/dotfiles ~/.dotfiles
  • brew install rbenv
  • brew install autojump
  • brew install coreutils
  • brew install hub
  • cd ~/.dotfiles
  • rake install
  • brew install grc (optional, will add color to a few utilities)
  • chsh -s /bin/zsh (make sure this path exists on your machine or you're gonna have a bad time)

The install rake task will symlink the appropriate files in .dotfiles to your home directory. Everything is configured and tweaked within ~/.dotfiles, though.

You should also go and modify ~/.dotfiles/git/gitconfig.symlink and change that to your own information and not mine.

Items of note

There's a few special files in the hierarchy.

  • bin/: Anything in bin/ will get added to your $PATH and be made available everywhere.
  • topic/*.zsh: Any files ending in .zsh get loaded into your environment.
  • topic/*.symlink: Any files ending in *.symlink get 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 rake install.
  • topic/*.completion.sh: Any files ending in completion.sh get loaded last so that they get loaded after we set up zsh autocomplete functions.

Cool things these let you do

See current status when you're in a Git repository (* indicates uncommitted changes): gitline

Git aliases like gist for git status and git hist to replace git log: gitalias

Quickly switch between versions of Java (auto-selects the latest minor version of 1.6, 1.7 and 1.8) with usejava6, usejava7, usejava8: java

Jump around with j

Private items

Items that are in private/ will not get committed into git should you choose to share your repo. Files inside that end in .zsh or .symlink will still function however.

Also, git/gitconfig.symlink is set to be ignored as well, and I recommend you move your private ~/.gitconfig into git/gitconfig.symlink for consistency.

Credit

Thanks to Zach Holman and the corresponding blog post. Seriously, go check out his repository and theory on dotfiles. I agree with all of it, and would never have created this without seeing his first.

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 85.3%
  • Ruby 7.3%
  • C 4.1%
  • Shell 2.3%
  • Other 1.0%