Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryanb/dotfiles

config files for zsh, bash, completions, gem, git, irb, rails
https://github.com/ryanb/dotfiles

Last synced: 6 days ago
JSON representation

config files for zsh, bash, completions, gem, git, irb, rails

Awesome Lists containing this project

README

        

# Ryan Bates Dot Files

These are config files to set up Mac OS X command line the way I like it using [Zsh](https://www.zsh.org).

For an older version that uses [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh), check out [this branch](https://github.com/ryanb/dotfiles/tree/oh-my-zsh).

## Installation

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

```sh
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.

```sh
c railsca
```

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

```sh
h doc
```

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.