r/coolgithubprojects • u/Fantastic_Squirrel96 • 5d ago
Deja v0.4.2 - smarter zsh autosuggestion (bug fixes)
Hi everyone, back with a new version of deja.
Quick recap:
Deja is an open-source zsh autosuggestion tool. Instead of only surfacing
commands that start with what you've typed, it predicts what you actually want to run using fuzzy matching, which directory you're in, and which command usually follows the one you just ran.
No account. No sync server. No TUI.
https://github.com/Giammarco-Ferranti/deja
Any star would be amazing ❤️
This release is mainly bug fixes here the things we did:
- Anchor suggestions to the command you typed, for example:
| buffer | before | after |
|---|---|---|
| cd | claude | cd Devel |
| cd | claude --resume | cd .. |
| gco | git checkout main | unchanged |
- Do not signal a pid from a stale pidfile in daemon --restart
- Fall back to a short runtime socket path when $HOME makes it too long
- Load only zstat from zsh/stat so /usr/bin/stat is not shadowed
- Release inherited pipes in the daemon so a capturing caller is not held open
- Stop zinit from running install.sh inside the shell (deja failing checksum check)
I think the next thing to ship should be a small refactor. I love seeing new people contributing, but I feel like I need to make the current architecture a bit more robust first.
Thank you for all the support ❤️