Skip to main content

Manage dotfiles with stow

Project description

GitHub stars

Manage dotfiles with stow

Please ★ this repo if you found it useful ★ ★ ★

Features

  • Group dotfiles into units (stow packages)

  • Automatically symlink (stow) files

  • Backup dotfiles with git

Installation

pip3 install dotstow

Dependencies

Usage

Note that unlike many dotfile syncing tools, this is powered by GNU Stow. This means your dotfiles must be stored inside stow packages (subfolders) instead of the root of your repo. This prevents cluttering your home directory with unwanted files, like your README.md. It also enables you to only install dotfiles you want on that computer.

Setup

Create a remote dotfiles repo. You can create one at GitHub.

Run the following command

dotstow sync

Creating a stow package

mkdir ~/.dotfiles/my-stow-package

Adding dotfiles to stow package

mv ~/.some-dotfile ~/.dotfiles/my-stow-package

Syncing dotfiles

dotstow sync

Example

The following example demonstrates syncing your .zshrc file with dotstow

mkdir ~/.dotstow/zsh       # creates a new stow package called 'zsh'
mv ~/.zshrc ~/.dotstow/zsh # adds dotfiles to the 'zsh' stow package
dotstow zsh                # symlinks the 'zsh' stow package
dotstow sync               # syncs your dotfiles

Support

Submit an issue

Contributing

Review the guidelines for contributing

License

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

Support on Liberapay

A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.

Add some fuel if you’d like to keep me going!

Liberapay receiving Liberapay patrons

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

dotstow-0.1.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dotstow-0.1.2-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dotstow-0.1.2.tar.gz.

File metadata

  • Download URL: dotstow-0.1.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dotstow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 944b0da7d413b782023ff8af9ae4a0dae7b0c8f8c269caa82b9e7f4592c91e67
MD5 07a3add5b0b019d48437088233c0b0df
BLAKE2b-256 e407fb9556edc42684d532d377aa8f8c6ef05ea0b159556a93437decf5013d36

See more details on using hashes here.

File details

Details for the file dotstow-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for dotstow-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5cdc03c211142e6c6555a56fda19b87889669f95133e4478708decf9c1239161
MD5 4734113842847647f4e12e57552fa214
BLAKE2b-256 7a519d5a403bfa69242ec7e330c7a13550e936b83bcdfd0410b6692b7b1b5237

See more details on using hashes here.

Supported by

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