Automate deployment of dotfiles to local paths or remote hosts
Project description
dotlink
Automate deployment of dotfiles to local paths or remote hosts
install
$ pipx install dotlink
usage
List your dotfiles in a simple text format named either .dotlink
or dotlink
:
# comments are lines starting with hash
# simple file listing
.vimrc
.zshrc
# map files to different names/paths (destination = source)
.config/htop/htoprc = htoprc
# include configs from submodules or other directories
@submodule/
See example repo/config at https://github.com/amyreese/dotfiles
Tell dotlink where your dotfile repo is, and where it should put things. Defaults to the current directory and your home directory, respectively:
$ dotlink [<source>] [<destination>]
Use --plan
to see what dotlink will do before doing it:
$ dotlink --plan [...]
The source can be a cloneable git repo:
$ dotlink https://github.com/amyreese/dotfiles.git
The destination can be a remote, ssh-able location:
$ dotlink <source> [<user>@]host:/path/to/destination
legal
dotlink is copyright Amethyst Reese.
dotlink is licensed under the MIT license.
See the LICENSE
file for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dotlink-2.1.tar.gz
.
File metadata
- Download URL: dotlink-2.1.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cf9a79ddc9d0fadd903eb27bebb61899e5396a451b33ac8d2a5e4ced376ba52 |
|
MD5 | 32d0636b460fc43dd73e2653822f34d4 |
|
BLAKE2b-256 | b43f36fea59984fcc09516a8ab603b1431bebabc1ad246db899f9e553b69fd42 |
File details
Details for the file dotlink-2.1-py3-none-any.whl
.
File metadata
- Download URL: dotlink-2.1-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b914b6cb4942becbd549b256c4df3e39ebd1e92bda71741461e0c5487d94883 |
|
MD5 | af8851a011bf17ebdb2c4b292553135b |
|
BLAKE2b-256 | 7e0b2bd6c3042812b84495f9df8b2398222de4ac53ef4c8d2eaa7b82b4903036 |