Your dotfiles are how you personalize your system. These are mine.
I was a little tired of having long alias files and everything strewn about (which is extremely common on other dotfiles projects, too). That led to this project being much more topic-centric. I realized I could split a lot of things up into the main areas I used (Ruby, git, system libraries, and so on), so I structured the project accordingly.
If you're interested in the philosophy behind why projects like these are awesome, you might want to read holman's post on the subject.
Run this:
git clone https://github.com/xrobin/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
script/bootstrapThis will symlink the appropriate files in .dotfiles to your home directory.
Everything is configured and tweaked within ~/.dotfiles.
A lot of stuff. Seriously, a lot of stuff. Check them out in the file browser above and see what components may mesh up with you. Fork it, remove what you don't use, and build on what you do use.
This is really all handled here, and you should never have to care about .bash_profile or .bash_login. Put all your environment variables in .profile. Put anything for interactive use or that is bash-specific in .bashrc
You'll want to change PS1 in ~/.bashrc (you can edit either ~/.bashrc or ~/bashrc.symlink). Try to set DATE_PROMPT=true for instance.
There's a few special files in the hierarchy.
- bin/*.bin: Any
*.binfile inbin/will get symlinked to ~/bin/, which is added to your$PATHand be made available everywhere. - system/: Files that are usually useful to have around on new system installs. Nothing is done automatically, typically those would be installed manually as root.
- topic/*.symlink: Any files ending in
*.symlinkget 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 runscript/bootstrap. - script/: Scripts to install the dotfiles. Use
script/bootstrapupon first use, and again every time a new file gets added. You can runscript/bootstrapas many times as you want, that shouldn't have any adverse effect: just hitSto skip everything that is already set.
I want this to work for everyone; that means when you clone it down it should
work for you even though you may not have rbenv installed, for example. That
said, I do use this as my dotfiles, so there's a good chance I may break
something if I forget to make a check for a dependency.
I use them on a variety of MacOS X, Debian/Ubuntu and SuSE Linux systems, where they should install and run pretty smoothly. Everything else is pretty much untested.
If you're brand-new to the project and run into any blockers, please open an issue on this repository and I'd love to get it fixed for you!
I forked Holman's dotfiles, then pretty much everything except from script/bootstrap was changed. I'm not using zsh myself.