Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.43 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.43 KB

Ryan Bates Dot Files

These are config files to set up Mac OS X command line the way I like it using Zsh.

For an older version that uses Oh My Zsh, check out this branch.

Installation

Run the bin/install command to copy files over. It will prompt you before replacing if the files already exist.

git clone [email protected]/ryanb/dotfiles ~/.dotfiles
cd ~/.dotfiles
./bin/install

After installing, open a new terminal window to see the effects.

Feel free to customize the .zshrc file to match your preference.

Features

I normally place all of my coding projects in ~/code, so this directory can easily be accessed (and tab completed) with the "c" command.

c railsca<tab>

There is also an "h" command which behaves similar, but acts on the home path.

h doc<tab>

If you're using git, you'll notice the current branch name shows up in the prompt while in a git repository.

Uninstall

To remove the dotfile configs, run the following commands. Be certain to double check the contents of the files before removing so you don't lose custom settings.

unlink ~/.bin
unlink ~/.gitignore
unlink ~/.gitconfig
unlink ~/.gemrc
unlink ~/.gvimrc
unlink ~/.irbrc
unlink ~/.vim
unlink ~/.vimrc
rm ~/.zshrc # careful here
rm -rf ~/.dotfiles

Then open a new terminal window to see the effects.