diff --git a/README.md b/README.md index 740ed1e..ae5504e 100644 --- a/README.md +++ b/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