dot is dotfiles manage cli.
❯ brew tap atsushi130/tap
❯ brew install dotPlease 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)
},
]
First, generate Github access token. [Here]
Next, register generated Github access token and repository to dot.
❯ dot token ${generated_github_access_token}
❯ dot repository atsushi130/dotfilesinstall dotfiles
❯ dot install [--chain | -c] ${filename}register github access token
❯ dot token ${github_token}register dotfiles repository
❯ dot repository ${owner/repository}example
❯ dot token f8a86be02ff77c0fa42d0fa16855d1e09a1affb6
❯ dot repository atsushi130/dotfiles
❯ dot install -c vimrccoming soon
❯ dot initIncremental search and install.
normal
❯ dot list | fzf --reverse | xargs dot install
cool
❯ dot list | fzf-tmux -d 35% --preview 'echo ❯ dot install {}' --preview-window down:1 --ansi --reverse --prompt='install dotfile is ' | xargs dot installdot is available under the MIT license. See the LICENSE file.