Git Product home page Git Product logo

dotfiles's Introduction

dotfiles

Important: use at your own risk. Test with dummy files before use it with your real dotfiles.

TLDR: You can find two things here:

  • my dotfiles at files folder;
  • a manager to keep them here at manager folder.

Description

In the folder manager there are two complementary scripts which manages the files kept in files folder, replacing the original files with symbolic links, but saving their original location in the folder locations and in the git commit messages.

... and yeah, I know that probably it isn't the best approach to do it, but I think it is really simple to implement and use. I would really like if someone improve it in any way! :)

  • manager/dot2git: symlink the original dotfile to files folder to keep it;
  • manager/git2dot: recreate the symlink in the original location for a given kept dotfile;
  • files: contains the original dotfiles;
  • locations: contains the original dotfiles path;

Usage

  • Configure paths in dot2git and git2dot scripts;
  • Add manager folder to your paths;
  • Use dot2git <.mydotfilename> to keep the file .mydotfilename;
  • Use git2dot <files/.mydotfilename> to recover / install the dotfile kept in files/.mydotfilename;

Contribute

Feel free to Use, Issue, Fork and make it better with Pull Requests.

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.