Comments (3)
Are you using pnpm v9? pnpm v9 no longer uses tabtab for completion. Instead, you are supposed to uninstall tabtab
from your .zprofile
and then run pnpm completion zsh > $COMPLETION_SCRIPT
or pnpm completion zsh >> ~/.zshrc
.
The caveat, however, is that this method is not compatible with pnpm v8 while corepack can automatically switch between major pnpm versions. The only way and the only proper way to fix this is for corepack to provide its own completion script that would redirect commands to pnpm completion script (Like how completion script for sudo
invokes completion script of the program it calls).
from pnpm.
Note that corepack uses a shim for pnpm, which is probably screwing up the arguments...
pnpm shim:
#!/usr/bin/env node
process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1'
require('./lib/corepack.cjs').runMain(['pnpm', ...process.argv.slice(2)]);
from pnpm.
Yes I'm using pnpm v9 exclusively now.
Thanks for the tip, this fixed my issue.
from pnpm.
Related Issues (20)
- PNPX does not respect the given package with version HOT 1
- [email protected] deploy lost the pkgs in node_modules HOT 2
- "bundledDependencies" field is not effected
- Unable to install unpublished packages in the workspace HOT 1
- pnpm 9.9.0 installs different Vite versions in a monorepo HOT 1
- postinstall script cause `file:` protocol not work properly
- Environment variable expansion is not applied array values in `.npmrc`
- Dependency fails to dedupe HOT 6
- pnpm dev with svelte kit breaks if the project folder path in which is being run is too long
- Configuration option to specify packages that should only be resolved once HOT 3
- `manage-package-manager-versions`: machine hangs for several minutes and then prints error HOT 2
- `bin` file of peer-dependency is not copied over to workspace root project `node_modules` folder
- `pnpm patch` folder not cmd/ctrl-clickable in VS Code HOT 3
- pnpm outdated to mention if there is a new pnpm version
- Allow requiring whitelisting of deprecated packages HOT 1
- Sort packages in table displayed when running `pnpm outdated` HOT 2
- pnpm list --json shows `"private": false` for private project
- Add `--workspace-root` argument to `exec` command HOT 1
- Add `--workspace-concurrency` argument to `exec` command
- Unexpected error whilst restructuring HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pnpm.