I have this alias defined to run bash then navigate to a certain folder but when I run it, it only runs bash and stays in the current path/directory/folder.
I've defined them in two different ways in ~/.bashrc but both methods fail to navigate to the certain folder.
def #1
alias setup_ROR="bash; cd /users/nikeelevet/code/rails;"
def #2
function setup_ROR() {
bash
cd /users/nikeelevet/code/rails
}
Any idea as to why the cd isn't working?
Thanks!
