.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.
.bashrc
/.bash_profile
is not in the list of files available for revert. This is due to the fact thatioutils.revert_dotfile
relies on a map of valid input filenames as returned byget_dotfiles_map
, which in turn callsget_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 (seedfm.main
), but not in the context of reverting. This logic should be fixed so that bash file(s) can be reverted.