atsushi130 / dot

dot is dotfiles manage cli.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dot

dot is dotfiles manage cli.

Installation via Homebrew

brew tap atsushi130/tapbrew install dot

Configuration

Please make dot.json confirm to the format, or generate by dot init command. And you upload it to dotfiles respository.

[
  {
    "name": "filename",
    "type": "file or dir",
    "input": "input_file_path_from_github",
    "output": "output_file_path_to_local",
    "chain": [] // chain install filenames (optional)
  },
]

Usage

First, generate Github access token. [Here] image

Next, register generated Github access token and repository to dot.

dot token ${generated_github_access_token}dot repository atsushi130/dotfiles

Support commands

install dotfiles

dot install [--chain | -c] ${filename}

register github access token

dot token ${github_token}

register dotfiles repository

dot repository ${owner/repository}

example

dot token f8a86be02ff77c0fa42d0fa16855d1e09a1affb6dot repository atsushi130/dotfilesdot install -c vimrc

coming soon

dot init

Extension

Incremental search and install.

normaldot list | fzf --reverse | xargs dot install
cooldot list | fzf-tmux -d 35% --preview 'echo ❯ dot install {}' --preview-window down:1 --ansi --reverse --prompt='install dotfile is ' | xargs dot install

Gif

Using Library

License

dot is available under the MIT license. See the LICENSE file.

FOSSA Status

About

dot is dotfiles manage cli.

License:MIT License


Languages

Language:Swift 96.3%Language:Ruby 3.7%