Comments (15)
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:
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.
Reply to this email directly or view it on GitHub:
#73
from bash-it.
Yes and I think it's preferably to not enable it by default because it can create a bad impression for new users.
from bash-it.
I can't stop from enabling it by default. We automatically enable all completion plugins by default.
from bash-it.
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.
from bash-it.
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)
from bash-it.
I think it could be even simpler (from the user's perspective, not ours):
Would you like to enable all, some, or none of the [plugins|completion|aliases] (this may make bash_it run slower):
[All/Some/None]:
All continues to act as it currently does, Some prompts the user for each one, None skips the step all together.
from bash-it.
Could be possible to make it like in omz? load just the list of commands and load gems list on demand
from bash-it.
@tswicegood's idea looks like a good one. I'll try implementing it.
from bash-it.
Fixed with 021000c.
from bash-it.
It's an old commit, push pending?
from bash-it.
Oh, sorry. Typo. Was fixed in 3eff6b2.
from bash-it.
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.
from bash-it.
@mr-szymanski I was thinking more along the lines of moving the for loop into the while true
loop so you would be asked for each type so you could enable all plugins, some aliases, and none of the completion, or so on.
from bash-it.
Ahh, ok. I'll try that, then. Thanks.
from bash-it.
Fixed with 159e1e4.
from bash-it.
Related Issues (20)
- [Bug]: System alias ll='ls -l --color=auto' with aliases completion enabled breaks bash file/directory tab completion behavior HOT 4
- [Feature]: show plugins option (--verbose?) to show plugin source URI/http uri - as there is no plugin documentation.
- [Feature]: Add GNU-Screen and tmux indication at PS1 HOT 2
- Bash ur
- Besh
- [Bug]: bash-it preview is not working HOT 2
- [Bug]: After dev channel update getting source error HOT 4
- Want to learn bash?
- Why does installation add a interpreter directive (shebang) to bash_profile? HOT 1
- bash: warning: setlocale: LC_ALL: cannot change locale (en_uS.UTF-8): No such file or directory HOT 1
- [Bug]: install bash_it on PVE debian-12-genericcloud-amd64-20230612-1409.qcow2 HOT 1
- [Request]: do you need maintainers? HOT 2
- [Feature]: nvm: only show node version if folder has package.json
- [Bug]: .bash_it/lib/history.bash reuses HISTCONTROL for it's own incorrect purposes by default HOT 3
- [Bug]: Uninstall script shouldn't delete existing bashrc and mindlessly pull from old backup
- [Feature]: allow customization of `CONFIG_FILE` during install.sh
- Does `bash-it` load `bash-preexec` by default? HOT 6
- [Feature]: Add completion for -c option to tmux new-session command
- [Feature]: Artisan (Laravel) completion
- Calc
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 bash-it.