dot.py

dotfiles manager (CLI)

MIT License

Stars
0
Committers
2

dotfiles - manage dotfiles

Install

# installing into /usr/loca/bin/dotfiles:
curl https://raw.githubusercontent.com/kucaahbe/dot.py/master/dotfiles -o /tmp/dotfiles && sudo bash -c 'chmod +x /tmp/dotfiles && mv /tmp/dotfiles /usr/local/bin/dotfiles'
# or
wget https://raw.githubusercontent.com/kucaahbe/dot.py/master/dotfiles -O /tmp/dotfiles && sudo bash -c 'chmod +x /tmp/dotfiles && mv /tmp/dotfiles /usr/local/bin/dotfiles'

Use

  1. add dotfiles repository (there maybe few, add each one as needed, existing repositories also work):
dotfiles add ~/mydotfiles/dotfiles1 git://githosting.io/username/dotfiles1
  1. check what's added:
dotfiles status
  1. download updates:
dotfiles update
  1. symlink/copy needed files, if target dotfiles repository(ies) contains dotfiles.ini
dotfiles install {specific repo name}
dotfiles.ini:
# dotfiles.ini
[links]
bashrc = ~/.bashrc
ls.bashrc = ~/.bashrc.d/ls.bashrc