added function to bashrc to write blog posts