Skip to main content

Python package to manage your dotfiles

Project description

PyPI version CI Coverage Bugs

Mypydot

Mypydot is a tool created for managing your dotfiles using a Python application

Showcase

small screenshots of the application

Home selection
Installing Bye

Motivation

I just wanted the basic functionality to manage my own dotfiles. I decided to do it in Python because It seems more natural to me rather than do It using shell scripting.

Install

pip install mypydot

Instructions

Create new dotfiles

Using it for the first time : mypydot . This command will create a new folder called .mypydotfiles in your $HOME directory. In this folder you will find the following folder structure :

Folder
language In case you want to save some dotfiles related with your favourite programming languages
os Operating system dotfiles
shell Small setup of aliases and exports that can be accessed from everywhere
config Docker, Git, Editors, etc. You can also find here a few almost empty scripts for storing your aliases, exports and functions.
conf.yml This file contains every file that you want to track in your dotfiles repository, feel free to add & remove symlinks !

Once you run this process you will notice that you have a few new lines your .bashrc and in your .zshrc

export MYPYDOTFILES=/Users/username/.mypydotfiles
source $MYPYDOTFILES/shell/main.sh

This lines will be used to source yours aliases, exports and functions to be available in your terminal. Besides that, nothing else is edited.

Resync dotfiles

Select your existing conf file and the modules you want to resync / install

References

https://github.com/mathiasbynens/dotfiles

https://github.com/CodelyTV/dotly

https://github.com/denisidoro/dotfiles

https://github.com/webpro/awesome-dotfiles

Thank you!

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

mypydot-2023.0.1.tar.gz (9.4 kB view hashes)

Uploaded Source

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