Dotties is a simple dotfile management script. It saves specified dotfiles in the home directory to a secret Gist and clone them from the Gist.
- GitHub CLI gh
Homebrew/LinuxBrew
brew install ghFor Ubuntu/Debian, use apt. snap won't work with hidden files.
Download a Debian package (.deb) file and double click the downloaded file or run:
sudo apt install ./gh_1.13.1_linux_amd64.deb- Python to open a browser
awesome install shinokada/dottiesbrew tap shinokada/dotties
brew install dottiesDownload the latest deb file from the release page.
sudo apt install dotties_XXXXXXX.debdottiesThis will pick up all dotfiles from your Home dir and write them in the .dotties file.
Run dotties -i or dotties --isempty to print files with empty content.
dotties -e
# or
dotties --editYour terminal editor will open the dotties file.
dotties -r
# or
dotties --readThis will print your .dotties content on your terminal.
dotties -G
# or
dotties --GistThis will upload all your dotfiles in the .dotties to a Gist.
The Gist URL will be stored in the ~/.dotties/gisturl file.
dotties -E
# or
dotties --EditThe GitHub CLI will open your Gist to edit/submit/cancel.
dotties -V
# or
dotties --ViewThe GitHub CLI will view the Gist.
dotties -C target-dir
# or
dotties --cloneThis will clone the dotfile Gist. If the target dir isn't given it will clone to the current directory.
dotties -D
# or
dotties --DeleteList all dotfiles from your home dir:
dotties -l
# or
dotties --localPrint help.
dotties -h
# or
dotties --helpPrint the version.
dotties -v
# or
dotties --versionShinichi Okada
Please see license.txt.