-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to disable tabtab #40
Comments
Hi I understand your issue and will take a good look at it. This is indeed a genuine issue. Thanks for your feedback. Meanwhile I would recommand uninstalling any tatab completion package you might have active on your system. |
Excellent, thanks! I'd be happy to work on a PR, but a cursory glance at the code didn't give me a very good idea on where to implement such a check. If ya can point me in the right direction I can give it a shot! |
I don't understand why or how dependencies of packages I'm installing for a project can manage to modify my shell profiles. I'm requiring Here is the output from running
Here is the content that was added to
|
This is similar to the following issues: serverless/serverless#3792 Here is a link to the postinstall script that calls https://github.com/serverless/serverless/blob/master/scripts/postinstall.js Here is the commit that initially added calls to Here is a commit on a forked repo that removes the code that calls Here is a MR that removes the postinstall script from Here is a previous MR that fixed an issue calling https://github.com/serverless/serverless/pull/3870/files Here is a workaround to "short circuit" installing The |
Another issue is that this old version of tabtab ends up using dependencies that include an old version of spawn-sync that requires a binary compile. Doing npm rebuild with docker lambda causes a postinstall error from spawn-sync. Node 8+ no longer needs this polyfill, so newer versions of tabtab do not need spawn-sync, so migrating that that would help. However it would be nice to make this totally optional. I can't even get it to work as is now. So make autocomplete a plugin and let people choose to install it only if they need/want it. (I just realized this issue is in the tabtab repo, so I will post the suggestion in serverless repo) |
Workaround: leave the |
I wish there were some kind of global |
Between using
nodenv
to manage multiple versions of node andnpx
to execute and install packages rather than global installations,tabtab
has trouble managing the installation locations of packages and clutters my shell configuration by adding completions for scripts I may only run once or twice.I would like the option to disable tabtab globally in some manner, for example a
TABTAB_DISABLE
environment variable or similar.The text was updated successfully, but these errors were encountered: