dot is dotfiles manage cli.
❯ brew tap atsushi130/tap
❯ brew install dot
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)
},
]
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/dotfiles
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 f8a86be02ff77c0fa42d0fa16855d1e09a1affb6
❯ dot repository atsushi130/dotfiles
❯ dot install -c vimrc
coming soon
❯ dot init
Incremental 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 install
dot is available under the MIT license. See the LICENSE file.