moved a function from zshrc to bashrc