SuperCuber / dotter

A dotfile manager and templater written in rust 🦀
The Unlicense
847 stars 45 forks source link

[FEATURE] dotter init souldn't ignore dotfiles #126

Open KrullBorg opened 1 year ago

KrullBorg commented 1 year ago

Is your feature request related to a problem? Please describe. dotter init ignores dotfiles

Describe the solution you'd like I think it sould produce entries surrounded with quotes

For example .Xresources

should become

".Xresources"="~/.Xresources"
SuperCuber commented 1 year ago

The original reason I filtered out dotfiles is because of the .dotter and .git folders that probably exist in that repo... Guess I can just include them anyways? Or maybe hardcode them to an ignore list.

KrullBorg commented 1 year ago

i'm talking about only files; but yes it could be take into account also directories; maybe dotter init could have an --exclude parameter? or, as you said, an hardcoded list of directories to exclude could be enough

SuperCuber commented 1 year ago

Yeah it should be enough. This doesn't have to be perfect, you're expected to use it to get a rough template and then edit from there