This is my collection of Unix/Linux shell scripts and configuration files. I’m releasing them here in hopes of helping others, and in hopes of learning from others in turn.
Most users will want to simply borrow the snippets they find interesting or useful. But if you want to use the entire environment as is, you can do so by sourcing it from your own shell configuration…
Drop the dotfiles folder in your home directory. Then add lines like this to your ~/.bash_profile:
if [ -f ~/dotfiles/bash_profile ]; then . ~/dotfiles/bash_profile fi
And in your ~/.bashrc:
if [ -f ~/dotfiles/bashrc ]; then . ~/dotfiles/bashrc fi
The bash_profile and bashrc files should add all the scripts to your $PATH and do other environment setup.
- “bash_profile” is equivalent to /.bash_profile, “irbrc” to "/.irbrc", etc. Include these files from the originals in your home directory.
- Contains scripts suitable for use in the bash shell on any Unix-like system.
- These scripts are specific to Mac OS X.
- Libraries suitable for referencing within irb or other scripts. (They are not optimized for production use.)
- Specs for the Ruby libraries.
Unless otherwise noted, all files Copyright © 2009-2019 Jay McGavren, and are released under the MIT license. See the LICENSE file for details.