Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cheshire137/dotfiles

All my handy configuration files, including for stuff like Skyrim. ⚔️
https://github.com/cheshire137/dotfiles

bashrc config dotfiles gemrc gitconfig irbrc oh-my-zsh skyrim vimrc zshrc

Last synced: 23 days ago
JSON representation

All my handy configuration files, including for stuff like Skyrim. ⚔️

Awesome Lists containing this project

README

        

# Dot Files

These are config files to set up a system the way I like it. It uses [Oh My ZSH](https://github.com/robbyrussell/oh-my-zsh). I am running on Mac OS X, but it will likely work on Linux as well.

## Installation

Run the following commands in your terminal. It will prompt you before it does anything destructive.

[Download inkpot.vim](http://www.vim.org/scripts/script.php?script_id=1143) and put it in ~/.vim/colors. Create those directories if they don't exist.

```terminal
git clone https://github.com/cheshire137/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
rake 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:

```terminal
c startOfName
```

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

```terminal
h doc
```

Tab completion is also added to rake and cap commands:

```terminal
rake db:mi
cap de
```

To speed things up, the results are cached in local .rake_tasks~ and .cap_tasks~. It is smart enough to expire the cache automatically in most cases, but you can simply remove the files to flush the cache.

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

There are several features enabled in Ruby's irb including history and completion. Many convenience methods are added as well such as "ri" which can be used to get inline documentation in IRB. See irbrc file for details.

## 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.

```terminal
unlink ~/.bin
unlink ~/.gitignore
unlink ~/.gemrc
unlink ~/.gvimrc
unlink ~/.irbrc
unlink ~/.vim
unlink ~/.vimrc
rm ~/.zshrc # careful here
rm ~/.gitconfig
rm -rf ~/.dotfiles
rm -rf ~/.oh-my-zsh
chsh -s /bin/bash # change back to Bash if you want
```

Then open a new terminal window to see the effects.