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)

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

Project details


Download files

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

Source Distribution

gdot-0.0.2.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

gdot-0.0.2-py2.py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page