Update outline of README.

This commit is contained in:
Lazarus Lazaridis 2018-03-12 20:09:00 +02:00
parent cb4a353012
commit 412126b9bb

View File

@ -55,34 +55,11 @@ 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
@ -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 <alias>
```
or
```bash
goto --push <alias>
```
### 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