ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.96k stars 662 forks source link

[NEW PLUGIN REQUEST] autocompletion and syntax highlighting #157

Closed akhiljalagam closed 3 years ago

akhiljalagam commented 4 years ago

Fish-like auto-suggestions and syntax highlighting. Here are links to these plugins:

Zsh-autosuggestions (https://github.com/zsh-users/zsh-autosuggestions) Zsh-syntax-highlighting (https://github.com/zsh-users/zsh-syntax-highlighting)

Firestar-Reimu commented 4 years ago

so how to install them on oh-my-bash?

akhiljalagam commented 4 years ago

so how to install them on oh-my-bash?

first, someone should write code for bash. then we can install.

akinomyoga commented 3 years ago

There is already an Issue suggesting autocompletions at #108.

so how to install them on oh-my-bash?

first, someone should write code for bash. then we can install.

I have an implementation akinomyoga/ble.sh that supports both autocompletions and syntax highlighting, but I'm not sure if this should be included in oh-my-bash. ble.sh is not a simple setting but implements the entire line editor by Bash scripts. The code base of ble.sh (about 50K LoC in total) is much larger than oh-my-bash and also actively changed, so I feel it is improper to include the code of ble.sh in oh-my-bash. You can separately install both oh-my-bash and ble.sh (or maybe one can add some install scripts in oh-my-bash as a plugin?).

2catycm commented 11 months ago

There is already an Issue suggesting autocompletions at #108.

so how to install them on oh-my-bash?

first, someone should write code for bash. then we can install.

I have an implementation akinomyoga/ble.sh that supports both autocompletions and syntax highlighting, but I'm not sure if this should be included in oh-my-bash. ble.sh is not a simple setting but implements the entire line editor by Bash scripts. The code base of ble.sh (about 50K LoC in total) is much larger than oh-my-bash and also actively changed, so I feel it is improper to include the code of ble.sh in oh-my-bash. You can separately install both oh-my-bash and ble.sh (or maybe one can add some install scripts in oh-my-bash as a plugin?).

really good project, thank you very much

Firestar-Reimu commented 11 months ago

Yes, I am also using ble.sh