Fixes filetype for `.bashrc` files
Ensures `NERDTree` is closed if its the last open window