What I am trying to do in bash is write a script,
foo, that when I run
$(foo), it changes the directory and runs a script using
source. The contents of
echo cd bar echo "&&" echo source baz
When I run
$(foo), it changes directory to "bar", but it does not run
source baz. Is there any way to accomplish this?