Bash completion should add a space after <Tab> key. #5052
Comments
|
I'm not a Bash / completion expert either; but I think there are some switches that can be used to set this option so I'll look into it, thanks for the report. |
|
Can you give a specific example where a space ins't added? For instance: |
|
After the first argument.
|
|
There is more than one "in" command: install and info. Which is kind of unfortunate. But this behavior is "as expected"; if you "brew ins" then a space is added. |
|
Bad example on my part. This is the case with the other arguments as well. I just tried I've installed the bash-completion from source. But the reason I did so, where because Homebrew acted this way. I have recently reset med Homebrew tree. Which should make sure I have the latest version of the brew completion file. |
|
Looking really hard into this now. But there isn't really any good information on the topic. I've been looking a lot on existing examples. But to no help. There seems to be tons of ways to do it. Since it's basically based on BASH, it seems that I need to learn more about the basic of BASH to grasp the concept completely. I'll keep you posted :) |
|
Forgive me for asking a dumb question but is the issue still that |
|
I can't seem to get the space at the end, so that I can start directly to type the wanted formula name. |
|
I get the space, maybe a terminal emulator problem? |
|
I'm using |
If compared to the Git's completion. You see it adds a space after it have completed the suggestions. Where the Homebrew require the users to press space after a press.
Tried to look up a solution, but since my experience with bash-completion is quite low, I were unavailable to come up with a proper solution.
What are your ideas on the matter?
The text was updated successfully, but these errors were encountered: