DEV Community

Discussion on: Backup Your Dotfiles With Version Control

Collapse
 
bhupesh profile image
Bhupesh Varshney ๐Ÿ‘พ

Awesome ๐Ÿ”ฅ, I encountered the same thing a while back, so spent an afternoon writing about it.

How to Build Your Own Linux Dotfiles Manager from Scratch

Also, open for contributions

GitHub logo Bhupesh-V / dotman

dotman is a simple, elegant & easy to use dotfiles manager ๐Ÿ––๐Ÿฝ

build status badge License: MIT platform: linux and macos bash love Website Status dotman Twitter: bhupeshimself



โœจ Learn how I made dโ—‹tman from scratch โœจ


Demo ๐Ÿ”ฅ

dotman-demo

๐ŸŒ  Features

  • Single file manager (Portable)
  • No config files for dotman (No .dotrc ๐Ÿคฆ)
  • No useless arguments (single command ๐Ÿ˜Ž)
  • Easy to use
  • Extendable โš’, Available as a Template
  • Fewer Dependencies
    • Git
    • Bash>=3

Wait! it's not written in a fancy language

And it doesn't have to be. Why?

  • Your focus should be on your dot files & scripts rather than on a dotfiles manager or how to use it.(Wait I forgot what was the command to push files? Is it dt push or dt --push)
  • Creating a overly-complex solution for something simple should not be the goal.

๐Ÿ’  Installation

via curl โžฐ

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Bhupesh-v/dotman/master/tools/install.sh)"
Enter fullscreen mode Exit fullscreen mode

via wget ๐Ÿ“ฅ

sh -c "$(wget -O- https://raw.githubusercontent.com/Bhupesh-v/dotman/master/tools/install.sh)"
Enter fullscreen mode Exit fullscreen mode

via httpie ๐Ÿฅง

sh -c "$(http --download https://raw.githubusercontent.com/Bhupesh-v/dotman/master/tools/install.sh)
โ€ฆ
Enter fullscreen mode Exit fullscreen mode