Show HN: I made a better zsh autosuggestion tool that predicts your next command

Posted by giammiferr 2 days ago

Counter13Comment6OpenOriginal

Hi everyone I just created Deja, a tool that instead of only surfacing commands that start with what you've typed, suggest what you actually want to run. I built it because I was using zsh autosuggestions but got tired of typing the same commands again and again. So Deja predicts your next command from your history.

Let me know what you think

Comments

Comment by giammiferr 2 days ago

The tool is fully open source and free. Built in Golang :)

Comment by ketul_shah 1 day ago

this is quite useful as the heavy terminal user. Can we add tiny LLM plugin [self hosted or API one] as well so it can help in predicting more accurately ?

Comment by giammiferr 1 day ago

hi my original idea was not to use llm at all and keep it super simple. Can you help me understand further what you need? Maybe I can achieve it without llm

Comment by ketul_shah 15 hours ago

Although I am linux user from past several years, I still think a lot more commands I don't know. So using explanation if it can help me in getting the command [using LLM as the tranfomation] so this way I can learn and get more efficient commands for my requirements.

Comment by graemep 2 days ago

This is clever. There are short command sequences that are not worth scripting but do repeat sometimes.

Comment by giammiferr 2 days ago

Thank you, yeah that’s the concept. I always end up doing the same sequences each time