displeased / ddm

ddm - dumb dotfile manager
GNU General Public License v3.0
0 stars 0 forks source link

Support "dot-" prefix in for dotfiles #1

Open displeased opened 2 years ago

displeased commented 2 years ago

Feature request to support the dot- prefix. Any files in the conf section of an application configuration with a prefix of dot- will be replaced by a period (.) al-la GNU stow's --dotfiles option.

Supporting this means that dotfiles can be stored while still being readable by using ls without any additional arguments.

displeased commented 2 years ago

This is significantly complicated by the way re-adoption of files works. This needs to either be reversible, or the adoption system needs to be slightly re-worked.

Without adoption in the way, this would be easy to implement with string substitution and the starts_with function; but given these complications it definitely deserves its own branch.