mirror of
https://github.com/iridakos/goto.git
synced 2025-05-15 23:10:35 -07:00
Add troubleshooting section
* Add suggestion for zsh missing bashcompinit command. Refs #33
This commit is contained in:
parent
9c6be35e87
commit
f009f4dafc
15
README.md
15
README.md
@ -60,6 +60,9 @@ source ~/goto.sh
|
||||
* [Extras](#extras)
|
||||
* [Push before changing directories](#push-before-changing-directories)
|
||||
* [Revert to a pushed directory](#revert-to-a-pushed-directory)
|
||||
* [Troubleshooting](#troubleshooting)
|
||||
* [zsh](#zsh)
|
||||
* [command not found compdef](#command-not-found-compdef)
|
||||
|
||||
### Change to an aliased directory
|
||||
To change to an aliased directory, type:
|
||||
@ -215,6 +218,18 @@ goto --pop
|
||||
|
||||
This command is equivalent to `popd`, but within the `goto` command.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### zsh
|
||||
|
||||
#### command not found: compdef
|
||||
|
||||
In case you get such an error, you need to load the `bashcompinit`. Append this to your `.zshrc` file:
|
||||
```bash
|
||||
autoload bashcompinit
|
||||
bashcompinit
|
||||
```
|
||||
|
||||
## TODO
|
||||
|
||||
* ~~Test on macOS~~ extensively
|
||||
|
Loading…
x
Reference in New Issue
Block a user