Skip to content

gbeltramo/python-dotsys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotsys

A Python package to manage config files and general system configuration.

Table of contents

Prerequisites

  1. Install python3
  2. Create a virtual environmnet in $HOME/.local named python-venv
  3. Symlink $HOME/.local/python-venv/bin/python3 to $HOME/.local/python-venv/pybin/p
  4. Make sure $HOME/.local/python-venv/pybin/ is in your $PATH environment variable

For example, if you are using bash and the apt package manager, you can run the script <PATH>/<TO>/python-dotsys/pre/setup.sh and add

# prepend to $PATH only if not already in
[[ ":$PATH:" != *":$HOME/.local/python-venv/pybin/:"* ]] && PATH="$HOME/.local/python-venv/pybin/:${PATH}"

to your $HOME/.bashrc file.

Installation

Run the following commands to

  1. install the dotsys package in the Python virtual environment described in the previous section
  2. symlink python-dotsys/dotfiles/ into $HOME/.dotfiles/.
mkdir -p $HOME/code/repos/ && cd $HOME/code/repos/
git clone git@github.com:gbeltramo/python-dotsys.git
cd python-dotsys/
bash pre/setup.sh
export PATH="$HOME/.local/python-venv/pybin:${PATH}"
make install-editable

Usage

Install all symlinks

p -m dotsys --symlinks

Configure git

bash ~/.dotfiles/git/setup-git.sh

Configure ssh

bash ~/.dotfiles/ssh/setup-ssh.sh

Install Emacs packages

p -m dotsys.emacs --packages

Note You also need to byte compile the Elisp packages and tangle the init.org config file.

About

A Python package to manage config files and general system configuration

Resources

License

Stars

Watchers

Forks

Packages

No packages published