Not sure whether your distri did patch that file or some local configuration is conflicting... .bashrc should already be recognized as Sh -- https://github.com/geany/geany/blob/master/data/filetype_extensions.conf#L67 -- and this is working at least here. Would you mind double checking?
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/2694#issuecomment-748615476