File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1041,6 +1041,11 @@ or alternatively if you don't want to edit your `~/.bashrc`:
1041
1041
spago --bash-completion-script $( which spago) >> ~ /.bash_completion
1042
1042
```
1043
1043
1044
+ * Note* : if you installed Spago not with NPM, but with PNPM or some other package manager,
1045
+ this package manager might have bundled your installation and your package name in the script may end up being incorrect.
1046
+ For example, when installed with PNPM, the resulting script will reference incorrect package ` bundle.js ` instead of ` spago ` .
1047
+ If you're using something other than NPM, verify the referenced package name in the completions script.
1048
+
1044
1049
### Install autocompletions for ` zsh `
1045
1050
1046
1051
Autocompletions for ` zsh ` need to be somewhere in the ` fpath ` - you can see the folders
@@ -1068,6 +1073,7 @@ compinit
1068
1073
1069
1074
* Note* : you might need to call this multiple times for it to work.
1070
1075
1076
+ * Note* : see the note in the Bash section above when installing Spago with a package manager other than NPM.
1071
1077
1072
1078
## Concepts and explanations
1073
1079
You can’t perform that action at this time.
0 commit comments