Safely adding new line to bashrc