Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

utox39/dotty

Repository files navigation

dotty

Description

Backup your dotfiles of choice in a folder

Requirements

Installation

# Clone the repo
$ git clone https://github.com/utox39/dotty.git

# cd to the repo
$ cd path/to/dotty

# Build dotty
$ go build ./...

# Then move it somewhere in your $PATH. Here is an example:
$ mv dotty ~/bin

# Create the config folder
$ mkdir -p ~/.config/dotty

# Copy the config file
$ cp path/to/dotty/config.json ~/.config/dotty/config.json

Usage

Backup the dotfiles

$ dotty backup

Add new dotfile

$ dotty add .foo

Configuration

To add the dotfile paths and destination path go to the configuration file in ~/.config/dotty/config.json

N.B Always remember to use the absolute path

{
  "dotfiles" : [
    "~/.example", "~/Documents/.example2"
  ],
  "destination-path" : "~/dotfiles/"
}

Roadmap

  • Improve customization
  • Improve checks
  • Publish it as a package
  • Automatic creation of the configuration file

Contributing

If you would like to contribute to this project just create a pull request which I will try to review as soon as possible.

About

Backup your dotfiles of choice in a folder

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages