Skip to content

A community driven framework of dotfiles.

Notifications You must be signed in to change notification settings

nicolailang/dotphiles

Repository files navigation

dotphiles

A framework of dotfiles for the usual terminal apps and shells designed to be cross platform and degrade for older machines

Why would I want my dotfiles on GitHub?

  • Backup, restore, and sync the prefs and settings for your toolbox. Your dotfiles might be the most important files on your machine.
  • Learn from the community. Discover new tools for your toolbox and new tricks for the ones you already use.
  • Share what you've learned with the rest of us.

Installation

  1. Sign up for an account on github and fork the project.

  2. Clone your fork.

    git clone --recursive [email protected]:username/dotphiles.git ~/.dotfiles

  3. Edit dotsyncrc and enable dotfiles to use.

  4. Setup your terminal and the dotfiles you want to use, see below.

  5. Run dotsync ./.dotfiles/dotsync/bin/dotsync -L

  6. Start a new login shell.

Dotfiles

  • dotsyncrc add your dotfiles and hosts for dotsync
  • zsh/* add your settings for dotzsh
    • zsh/zshrc
    • zsh/zshenv
    • zsh/zlogin
    • zsh/zlogout
    • zsh/zprofile
  • vim/* add your settings for dotvim
    • vimrc add your settings for vim and bundles to install
    • gvimrc add your settings for gvim
  • git/* add your settings for git
    • gitconfig add your name, email and gpg keyid
  • mercurial/* add your settings for mercurial
    • hgrc add your name and email
  • ssh/* add your settings for ssh
    • config add your hosts and settings
    • authorized_keys add your public keys

Terminal

dotphiles uses the solarized color theme by default, see the files below to install.

  • deploy/*
    • terminal/colors the default colour scheme is solarized, install the terminal color scheme
    • terminal/fonts powerline for vim is set to use fancy fonts, install the fonts
    • osx is based on .osx but will also install ports/brews as below
      • macports add ports to deploy/macports to be installed by osx
      • homebrew add brews to deploy/homebrew to be installed by osx

Backups

An existing ~/.dotfiles will be backed up into ~/.backup/dotfiles/ if found

Updating

To keep your fork upto date with additions to the dotphiles repo, do the following

cd ~/.dotfiles
git remote add upstream https://github.com/dotphiles/dotphiles
git fetch upstream
git merge upstream/master

Contribute

This project would not exist without all of its users and contributors.

If you have ideas on how to make the configuration easier to maintain or improve its performance, do not hesitate to fork and send pull requests.

Issue Reporting

  • Check that the issue has not already been reported.
  • Check that the issue has not already been fixed in the latest code.
  • Open an issue with a clear title and description in grammatically correct, complete sentences.

Pull Request

License

Copyright (c) 2012 Ben O'Hara [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A community driven framework of dotfiles.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 68.7%
  • Shell 28.2%
  • Ruby 1.6%
  • Vim Script 1.3%
  • PostScript 0.2%