zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
30.81k stars 1.85k forks source link

zsh-autosuggestions.plugin.zsh: respect the standard #617

Closed jeffreytse closed 11 months ago

jeffreytse commented 3 years ago

There is a need to handle $0 correctly for all package managers. For example zpm define ZERO before plug-in is sourced.

See: https://github.com/zdharma/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc#zero-handling

jirutka commented 2 years ago

The provided link doesn’t work anymore, the up-to-date version is on https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html#zero-handling.

z0rc commented 2 years ago

This isn't a standard in any way. And given history of zdharma's author, I doubt it's valuable addition to Zsh plugin ecosystem.

jirutka commented 2 years ago

I don’t know zdharma’s history. I judge this spec only based on the content and I find it useful.

z0rc commented 2 years ago

A bit of history for additional context: https://www.reddit.com/r/zsh/comments/ffidxy/code_ff0000_whats_going_on_with_psprint/ https://www.reddit.com/r/zsh/comments/qinb6j/httpsgithubcomzdharma_has_suddenly_disappeared_i/

ericfreese commented 11 months ago

I believe I've addressed this in #759.