-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Gem completion and slow loading #73
Comments
Unfortunately it's not possible to make it any faster since bash_it needs to get a list of gems each time it loads the completion. On Jul 24, 2011, at 11:48 AM, victorcoder wrote:
|
Yes and I think it's preferably to not enable it by default because it can create a bad impression for new users. |
I can't stop from enabling it by default. We automatically enable all completion plugins by default. |
It might be worthwhile to add an exemption and/or allow the users to decide which ones they want to enable on tha first pass thru. |
I might add something to the install script. Anyone else think this is a good idea? I was planning on adding something like this: tell the user: bash_it comes with tab-completion for the gem command. Using this requires it to download a list of gems which will make shell startup time slower. Would you like to enable this completion plugin? (Y/N) |
I think it could be even simpler (from the user's perspective, not ours):
All continues to act as it currently does, Some prompts the user for each one, None skips the step all together. |
Could be possible to make it like in omz? load just the list of commands and load gems list on demand |
@tswicegood's idea looks like a good one. I'll try implementing it. |
Fixed with 021000c. |
It's an old commit, push pending? |
Oh, sorry. Typo. Was fixed in 3eff6b2. |
Oh, I think you were going to fix the gem completion file. Selecting "some" drives through an endless process that I thinks it's not that great idea. I'll try to help with this. |
@mr-szymanski I was thinking more along the lines of moving the for loop into the |
Ahh, ok. I'll try that, then. Thanks. |
Fixed with 159e1e4. |
Gem completion script makes each new terminal window take ages to load. Just deleting the symlink from enabled completions folder makes it load reasonable well.
The text was updated successfully, but these errors were encountered: