Skip to content

Dotfiles setup, allowing easy setup on new machines using shell scripts or ruby

Notifications You must be signed in to change notification settings

elliotboney/DotFiles

Repository files navigation

Table of Contents

General

What are dotFiles

My dotfiles to make my life way way easier screenshot

The really good bash/zsh aliases, functions, etc are found in bash/dotfiles.symlink/

My inspirations

Installation

This WILL overwrite your existing dotfiles like .bashrc, .zshrc, etc but don't worry, it will make a copy of it as .filename.pre-oh-my-zsh

Remote Installation

Alternatively, you can install this into ~/DotFiles remotely without Git using curl:

sh -c "`curl -fsSL https://raw.github.com/elliotboney/DotFiles/master/remote-setup.sh`"

Or, using wget:

sh -c "`wget -O - --no-check-certificate https://raw.githubusercontent.com/elliotboney/DotFiles/master/remote-setup.sh`"

Local Installation

Shell Script (New & Preferred)

git clone --recurse-submodules --depth 1 https://github.com/elliotboney/DotFiles.git DotFiles
cd DotFiles
./install.sh

Ruby (Old and annoying cause you need ruby on fresh shells)

How to install the actual dotfiles.

# sudo apt-get install ruby # install ruby if you don't have it
git clone --recurse-submodules --depth 1 https://github.com/elliotboney/DotFiles.git DotFiles
cd DotFiles
rake

Vim

I use dein.vim for vim package management. The first time you open vim, you'll see a notice about packages not being installed. To install them async, run :call dein#install() in vim.

Local Dotfiles

There are a couple of files you can tweak to have local commands and packages setup.

.zshrc.local will run last adding any commands you want. It's currently just setup to start or reattach to an existing screen session over ssh.

.zshpackages overrides the default packages for oh-my-zsh setup in .zshrc

Requirements

On a new debian server, this will install the requirements:

sudo apt-get update && sudo apt-get install git zsh

zsh

Zsh is a shell designed for interactive use, although it is also a powerful scripting language. Many of the useful features of bash, ksh, and tcsh were incorporated into zsh; many original features were added. Read More

Install zsh for your OS, then run the chsh command.

OSX
brew install zsh
Linux
sudo aptitude install zsh
Change the shell
chsh -s zsh

oh-my-zsh

A community-driven framework for managing your zsh configuration. Includes 180+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community. http://ohmyz.sh/

via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
via wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

TODO

  1. Need to document this better

About

Dotfiles setup, allowing easy setup on new machines using shell scripts or ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published