How to load tabtab completion? #180
-
I would like to enable tabtab completion for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It then goes on to modify This (modifying a user's dotfiles) is a big NO-NO in Unix land! You should file a bug report with What You can discard source $XDG_CONFIG_HOME/tabtab/zsh/pnpm.zsh to your In short: The way |
Beta Was this translation helpful? Give feedback.
pnpm install-completion zsh
creates two new files:~/.config/tabtab/zsh/__tabtab.zsh
and~/.config/tabtab/zsh/pnpm.zsh
.It then goes on to modify
~/.zshrc
(and if it doesn't exist, first creates it).This (modifying a user's dotfiles) is a big NO-NO in Unix land! You should file a bug report with
pnpm
about this. Plus, if your$ZDOTDIR
is set to something else than$HOME
, this won't even enablepnpm
completion (because then,$ZDOTDIR/.zshrc
is read at startup, instead of~/.zshrc
.What
pnpm
really should be doing is to install its completion function to/usr/local/share/zsh/site-functions
, as I described here on Stack Overflow. You can include that link your bug report. If they do it th…