Mac OS Sierra, 10.12.3
I inserted this line into my
alias myfolder="cd ~/path/to/folder"
But when I type this into Terminal:
I get this error:
-bash: alias: Users/myuser/path/to/folder: not found
Basically, I want to be able to type "myfolder" from anywhere in the directory structure and have it change to that alias path. But I haven't been able to get it to work.
EDIT: Sorry, I was already using the
cd command. Edited the question to reflect this.