diff --git a/README.md b/README.md index b5c8737..b5cf731 100644 --- a/README.md +++ b/README.md @@ -44,11 +44,34 @@ To change to an aliased directory, type: goto ``` +To first push the current directory onto the directory stack before changing directories, type: +```bash +goto -p +``` +or +```bash +goto --push +``` + #### Example: ```bash goto dev ``` +### Revert to a pushed directory +To return to a pushed directory, type: +```bash +goto -o +``` +or +```bash +goto --pop +``` + +#### Notes + +This command is equivalent to `popd`, but within the `goto` command. + ### Register an alias To register a directory alias, type: ```bash