Skip to content

Refactor hardcoded directory/sentinel pairs to use external config file#102

Open
reorx wants to merge 4 commits intostevegrunwell:developfrom
reorx:master
Open

Refactor hardcoded directory/sentinel pairs to use external config file#102
reorx wants to merge 4 commits intostevegrunwell:developfrom
reorx:master

Conversation

@reorx
Copy link
Copy Markdown

@reorx reorx commented Jul 14, 2025

Summary

  • Replace hardcoded ASIMOV_VENDOR_DIR_SENTINELS array with external
    configuration file ~/.config/asimov/dirs.txt (with XDG_CONFIG_HOME
    support)
  • Implement conditional debug output with DEBUG environment variable

Benefits

  • Users can now easily customize directory/sentinel pairs without
    modifying the script
  • Improved maintainability and user experience
  • Better debugging capabilities with conditional output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant