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 gh
For 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/dotties
brew tap shinokada/dotties
brew install dotties
Download the latest deb file from the release page.
sudo apt install dotties_XXXXXXX.deb
dotties
This 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 --edit
Your terminal editor will open the dotties
file.
dotties -r
# or
dotties --read
This will print your .dotties
content on your terminal.
dotties -G
# or
dotties --Gist
This 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 --Edit
The GitHub CLI will open your Gist to edit/submit/cancel.
dotties -V
# or
dotties --View
The GitHub CLI will view the Gist.
dotties -C target-dir
# or
dotties --clone
This will clone the dotfile Gist. If the target dir isn't given it will clone to the current directory.
dotties -D
# or
dotties --Delete
List all dotfiles from your home dir:
dotties -l
# or
dotties --local
Print help.
dotties -h
# or
dotties --help
Print the version.
dotties -v
# or
dotties --version
Shinichi Okada
Please see license.txt.