rucker / dotfiles-manager

A script to compile your dotfiles!
MIT License
8 stars 0 forks source link

Bash files not available for revert #37

Closed rucker closed 7 years ago

rucker commented 7 years ago

.bashrc/.bash_profile is not in the list of files available for revert. This is due to the fact that ioutils.revert_dotfile relies on a map of valid input filenames as returned by get_dotfiles_map, which in turn calls get_dotfile_name -- and that last function has logic to exclude bash files due to their special handling. This makes sense in the context of compiling files, where the bash files are a hard-coded special case (see dfm.main), but not in the context of reverting. This logic should be fixed so that bash file(s) can be reverted.