I changed all pushd to cd and popd to cd - to get rid of pushd and popd at call due to issue #67.
The cd - command in the Unix/Linux shell is a shortcut for changing the directory to the previous working directory. It essentially switches you back to the directory you were in before the last cd command you executed.
For example, if you were in directory /home/user/Documents and you executed cd /var/www, then running cd - would take you back to /home/user/Documents.
This can be quite handy for toggling between two directories without having to type out their full paths each time.
Close #67
I changed all
pushd
tocd
andpopd
tocd -
to get rid ofpushd
andpopd
at call due to issue #67.The
cd -
command in the Unix/Linux shell is a shortcut for changing the directory to the previous working directory. It essentially switches you back to the directory you were in before the lastcd
command you executed.For example, if you were in directory
/home/user/Documents
and you executedcd /var/www
, then runningcd -
would take you back to/home/user/Documents
.This can be quite handy for toggling between two directories without having to type out their full paths each time.