-
-
Notifications
You must be signed in to change notification settings - Fork 681
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
Re-write zsh autosuggestions to bash. #377
Comments
@chiddekel Is this a request? Or is this something that you are now working on? Could you explain the background of the issue in a bit more detail? |
No. No. I can help with research - how to rewrite it line to line. |
Are you sure it is possible to achieve the autosuggestions in Bash by rewriting Anyway, what is your true purpose?
|
Nice. Zsh use zle - and provide that way widget's so basically rewriting the plugin zsh-autosuggestion can be test/Guide for how to Bash ble.sh can be upgrade. So instead write everything in ble.sh - add after rewrite ble.sh as a extension bash - that missing zle features then develop as a plugin on system like oh my zsh. And even when stable enough can be (ble) official part of bash. |
Bash/Readline doesn't provide the necessary feature to port
What do you specifically mean by "rewrite ble.sh as an extension of Bash"? It's already a kind of an extension written in "shell", but are you thinking of rewriting it in C? If so, I'm not interested in it. See also my reply in
It is unlikely that ble.sh becomes a part of an official part of Bash. First of all, the license is incompatible. It is troublesome to switch the license of ble.sh because it contains some contributed codes for which I don't own the copyright. |
Ble can be module of BASH ( it's rather clean solution ;)) like |
As I have already replied,
Anyway, I'm not the Bash maintainer so have nothing to do about it. You should discuss the upgrading of the official Bash in the official place instead of here. Bash already has an independent line editor called Readline, so you want to consider extending Readline. The problem is that no one else seems to be interested in working on extending Readline in the official community, so you should work on it by yourself to extend Readline.
I know that because I took the name from ZLE as explained in ble.sh's README.md. |
Ble as Module of Bash as third party, because of license. |
Yes, and it's already a third-party module.
If you work hard to improve Readline, why not? |
Thanks - Time to list features of zsh-autosuggestions using ZLE, and to migrate, using Ble or Readline extended - and start developing. If any can help I will create a new repo in two weeks. |
How about this? |
|
In the meantime, someone is positing a new implementation of Bash autosuggestions in Reddit [1]. The project [2] seems to have started just on December 8th and is active now. |
So it's good to add it to oh my bash - 😎 when production ready. |
With initial support for |
Rewrite this zsh plugin to bash to support autosuggestions:
https://github.com/zsh-users/zsh-autosuggestions
Bash Reference Manual:
https://www.gnu.org/software/bash/manual/html_node/index.html
The text was updated successfully, but these errors were encountered: