diff --git a/README.md b/README.md index 8e60088..c40799d 100644 --- a/README.md +++ b/README.md @@ -55,34 +55,11 @@ 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 @@ -199,6 +176,33 @@ or goto --version ``` +## Extras + +### Push before changing directories + +To first push the current directory onto the directory stack before changing directories, type: +```bash +goto -p +``` +or +```bash +goto --push +``` + +### 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. + ## TODO * ~~Test on macOS~~ extensively