Giter Club home page Giter Club logo

dots's Introduction

dots

Dotfile manager made in Shell.

Quickstart

  1. Installation:
git clone https://github.com/dmun/dots.git && sudo cp dots/dots /usr/local/bin/
  1. Make sure your dotfiles folder satisfies the folder structure in the Requirements section of this README.
  2. Set your dotfiles directory absolute path.
dots set <directory>

Usage

dots link [<dotfile>] to link a dotfile to the proper config folder, leave empty to link all files.

dots unlink [<dotfile>] to unlink a dotfile, leave empty to unlink all files.

dots status to check the status.

dots set <directory> to set the dotfiles directory.

Requirements

The script expects the dotfiles directory to be structured as follows:

├── .doom.d           -->  $HOME/.doom.d/
│   ├── config.el
│   ├── init.el
│   └── packages.el
├── fontconfig        -->  $HOME/.config/fontconfig/
│   └── fonts.conf
├── kitty             -->  $HOME/.config/kitty/
│   └── kitty.conf
├── keybindings.json  -->  ignored
├── .zshrc            -->  $HOME/.zshrc
└── .vimrc            -->  $HOME/.vimrc

For every file including directories, starting with a dot ., a link will be created in the $HOME/ directory.

For every directory that does not start with a dot, a link will be created in the $HOME/.config/ directory.

Everything else will be ignored.

TODO

  • Better colors
  • Make code more compact
  • More features

dots's People

Contributors

dmun avatar

Stargazers

 avatar

Watchers

 avatar

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.