Unfortunately I just overwrote my .bashrc with
echo \"command\" > ~/.bashrc
as opposed to append
Assuming you built your .bashrc with a bunch of similar echo commands and you just want to retrieve them:
Is there a location where a session's commands are stored?
If you run history, you should be able to retrieve the previous commands. For more information, see man history.
In your case, you might find the output of history | grep bashrc useful.