adds documentation for push/pop commands

This commit is contained in:
Shawn Wallis 2018-03-09 13:45:18 -05:00
parent e53f05c21e
commit 873ee5a05d

View File

@ -44,11 +44,34 @@ To change to an aliased directory, type:
goto <alias>
```
To first push the current directory onto the directory stack before changing directories, type:
```bash
goto -p <alias>
```
or
```bash
goto --push <alias>
```
#### 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