Skip to main content

A tool for managing dotfiles for linux and macos.

Project description

Dotfiles

A dotfile manager to easily reuse configurations between linux and macOS.

Installation

pip install dotfile-manager

Usage

  • Installing the dotfiles: This will install all the necessary dependencies for your dotfiles.

    dotfile_manager install
    
  • Setting up the dotfiles: This will set up symbolic links for the config files, symlink binaries and create a script to source everything.

    dotfile_manager setup
    

Configure your dotfiles for use with the dotfile manager

The dotfiles are organised by project, where each project has its own top-level folder. A project may contain a file dotfile_manager.yaml which configures the dotfile manager. It is setup as follows:

symlink:
  zshrc.zsh: ~/.zshrc

bin:
  - do_something.sh

source:
  - aliases.sh
  - helpers.sh

The entries of symlink configures where the files will be symlinked to, the key is the path of the file inside the topic folder, the value is the global path where the file will be symlinked to.

The entries of bin will be symlinked to ${DOTFILES}/generated/bin/. Add this folder to your path to easily access these binaries.

The entries of source will be added to a script in ${DOTFILES}/generated/sources.zsh, such that you only have to source this file instead of sourcing all files individually.

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

dotfile_manager-0.1.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

dotfile_manager-0.1.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded 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