Manage and edit $HOME dotfiles using Python + git = <3
Project description
mydot -- A Python Module for managing dotfiles
Quick Start
-
Configure
bash
shell:# Environment variable specifying where to store dotfiles export DOTFILES="$HOME/.config/dotfiles" alias config="/usr/bin/git --git-dir=$DOTFILES --work-tree=$HOME"
-
Initialize dotfiles repository
# Initialize repository mkdir -pv $DOTFILES git init --bare $DOTFILES
-
Confirm and configure dotfiles repo
# Confirm working dotfiles alias config status # Disable display of untracked files config config --local status.showUntrackedFiles no # Confirm change config status # Add files to track using Git config add -v ~/.vimrc ~/.tmux.conf ~/.bashrc ~/.bash_aliases
-
Get powerful with
mydot
python -m pip install --user mydot python -m mydot --help python -m mydot --status python -m mydot --edit python -m mydot --add
Source of Truth
This project is available on GitHub and GitLab. Each push to
master
automatically goes to both so choose whichever platform you prefer.
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
mydot-0.1.1.tar.gz
(4.7 kB
view hashes)
Built Distribution
mydot-0.1.1-py3-none-any.whl
(8.2 kB
view hashes)