Skip to main content

Git my dotfiles!

Project description

Git my dotfiles!

Version on pypi Tested with Github Actions Python versions tested (link to github project)

Warning

This is a preview project, not ready for use yet, most of the implementation is not there yet


gdot is a python CLI that allows to easily roam one’s dotfile configs (such as ~/.bashrc and ~/.config/...) between multiple machines.

Getting started:

# On first login, associate your local files to a remote git repo
gdot attach github:myuserid

# Pull changes from your remote git store any time
gdot pull

# Add some files to track
gdot add ~/.bashrc ~/.config/htop/

# When you made some local changes, push them to your git store
gdot push

# Optionally, you can specify a commit message
gdot push -m "Changed qtile settings"

# See what's changed since you last push/pull-ed
gdot status
gdot diff

Installation

Install it with pickley:

pickley install gdot            # Grab the latest
pickley install gdot==1.0.0     # Or pin to a specific version

Or in a venv:

python3 -mvenv ~/.local/venvs/gdot
~/.local/venvs/gdot/bin/pip install gdot

# Then put a symlink to a folder that is in your PATH:
ln -s ~/.local/venvs/gdot/bin/gdot ~/.local/bin/gdot

# Or simply alias it:
alias gdot=~/.local/venvs/gdot/bin/gdot

# You can upgrade it like so:
~/.local/venvs/gdot/bin/pip install -U gdot

# Or pin to a specific version:
~/.local/venvs/gdot/bin/pip install -U gdot==1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gdot, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size gdot-0.0.2.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View
Filename, size gdot-0.0.2-py2.py3-none-any.whl (6.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page