zsh-users / zsh-autosuggestions

Fish-like autosuggestions for zsh
MIT License
31.53k stars 1.87k forks source link

New strategy: Suggest based on PWD + other strategies #812

Open knvpk opened 6 days ago

knvpk commented 6 days ago

Is your feature request related to a problem? Please describe.

I generally deal with lot of projects that means lot of folder, mostly all the project based on same framework either nix, pulumi and git, so most of the commands are same but with small difference like git push origin main and git push origin master, so im thinking if a suggestion stored per folder basis then it can be suggested back based on current working directory.

Describe the solution you'd like

Not sure as of now

Describe alternatives you've considered

Not sure as of now

Additional context

I think so many members will face the same problem.

References

  1. https://github.com/jimhester/oh-my-zsh/commit/baa187e4b903f39422a84b580e6e617ec3738e09
ericfreese commented 6 days ago

I think this is currently the best solution for what you want to do: https://github.com/larkery/zsh-histdb/blob/90a6c104d0fcc0410d665e148fa7da28c49684eb/README.org#integration-with-zsh-autosuggestions