I only use terminal (mac) for git, and I only use git for one directory. Is it possible to set the default directory (the directory when terminal is opened) to the directory
Try echo "cd $directory" >> ~/.bash_profile
echo "cd $directory" >> ~/.bash_profile