rizalp / dotfiles

Completely cross-platform dotfiles, including Windows!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Completely cross-platform dotfiles, including Windows!

Why would I want my dotfiles on GitHub?

Please see GitHub ❤ ~/, as they have answered this question as well as anyone.

Why support Windows?

This is a much better question, and the answer goes beyond being cross-platform to being cross-industry. The fact of the matter is that influential, top-class game development is largely done on Windows even though influential, top-class web development is largely done on OS X.

Though not the norm, I use the majority of these tools to develop games in the same way I use them to develop web applications. I don't feel like context-switching between these two industries should require me to context-switch between two sets of tools (or configurations thereof), hence the effort to make these dotfiles cross-platform.

Usage & Installation

  1. Fork the dotfiles.
  2. Clone your fork somewhere on the same virtual drive as your home folder. I recommend ~/.dotfiles.
  3. Run the install script.
  4. Edit your dotfiles, especially .gitconfig, to match your name, email, machine-specific settings, etc.
  5. Commit your changes to your fork.
  6. Congratulations, your dotfiles are now safe on GitHub!

One note on changes made to your fork. Please don't include sensitive information like passwords and keys! If you notice, the ssh folder includes a very useful .ssh/config file. Notice that the actual keys and usernames are not present. That's one thing you don't want to share with the world.

Notes for Windows users

  1. Ensure that git is available to the install script for npm to work correctly (required).
  2. You may have to run the install script as Administrator due to symlink permissions being unusual by default. A caveat of running node in the Administrator shell is that you'll need to manually set an additional environment variable. From the shell, cd into your home directory, then run set HOME = %CD%. At this point, the install script should work normally.

About

Completely cross-platform dotfiles, including Windows!


Languages

Language:Shell 89.8%Language:Vim Script 5.1%Language:JavaScript 4.7%Language:Perl 0.4%