@Mateo_ Thanks for the response...
I want to automate package installation using a function that I would like to include in my `.zshrc`... so the function goes like this...
`pushd <source_dir_path>`; install commands; popd;
This works well when I am not in the `source_dir_path` but when I am in the `source_dir_path`, the `pushd <source_dir_path>` has no effect. However since popd is called after installation commands..., the popd removes pwd from stack top putting me in a different directory...