DEV Community

loading...

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
Forem Open with the Forem app