GithubHelp home page GithubHelp logo

bluekeyes / dotosaurus Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 138 KB

Protecting dotfiles and such from extinction by meteorite

Shell 20.20% Python 4.46% Vim Script 74.90% Vim Snippet 0.44%
dotfiles

dotosaurus's Introduction

Dotosaurus

Protecting dotfiles and such from extinction by meteorite (or harddrive failure).

 _____________
< Dotosaurus! >
 -------------
\                             .       .
 \                           / `.   .' "
  \                  .---.  <    > <    >  .---.
   \                 |    \  \ - ~ ~ - /  /    |
         _____          ..-~             ~-..-~
        |     |   \~~~\.'                    `./~~~/
       ---------   \__/                        \__/
      .'  O    \     /               /       \  "
     (_____,    `._.'               |         }  \/~~~/
      `----.          /       }     |        /    \__/
            `-.      |       /      |       /      `. ,~~|
                ~-.__|      /_ - ~ ^|      /- _      `..-'
                     |     /        |     /     ~-.     `-. _  _  _
                     |_____|        |_____|         ~ - . _ _ _ _ _>

Installation

Bootstrap

If you haven't already cloned the repository, consider using the bootstrap script. This script will clone the repository and its submodules, then run the installation script described below.

You can use either curl or wget to get the bootstrap script

curl -L https://github.com/bluekeyes/dotosaurus/raw/master/scripts/bootstrap.sh | sh
wget --no-check-certificate https://github.com/bluekeyes/dotosaurus/raw/master/scripts/bootstrap.sh -O - | sh

Install

To install dotosaurus, run

./scripts/dotosaurus install

Note that this requires Python 3. You don't need to run this script if you already ran the bootstrap script.

If any dotfiles already exist, the command will fail. If this happens, rerun with either the --force or --backup flag.

If you have any local changes, make them and commit them on the local branch.

Updating

To update dotosaurus, run

./scripts/dotosaurus update

Note that this requires Python 3.

If you have local changes that conflict with new remote changes, the command will fail and ask you to resolve merge conflicts manually. Once the conflicts are resolved run

./scripts/dotosaurus update --continue

to finish the update.

dotosaurus's People

Contributors

bluekeyes avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

dotosaurus's Issues

Symlinking files is not sustainable if local changes are required

Symlinking makes updating easy, but it's super annoying when you need to change or add to a file for local configuration. For example, I use a slightly different .gitconfig at work and not all versions of git support the include.path config option.

There needs to be a more general way of keeping the actual files in sync with the repo while supporting local changes.

Support local zshrc files

Add support for .zshrc.local so it's easy to override or add setting that only apply to a particular computer.

For instance, using cygwin at work I'd like to disable the git status check in the prompt because it is really slow with our repos.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.