top | item 30726983

Ask HN: Hacker Friendly Terminal (Linux/macOS)

2 points| throwaway158497 | 4 years ago

Is there a open source terminal that is friendly to hacking? I want to add "next command prediction" to my terminal but I am at a loss to identify the correct terminal. iTerms2's architecture unfortunately did not allow me to do that.

4 comments

order

eddyg|4 years ago

I’d look at zsh autosuggestions as a possible starting point. It’s based on your history and suggests previous commands based on what you type, but there’s no reason it couldn’t provide a suggestion “immediately”. https://github.com/zsh-users/zsh-autosuggestions

yokoprime|4 years ago

As others have suggested, use zsh autosuggestions, personally I like to use oh-my-zsh as the framework for adding zsh plugins, but I don't think its required. As for the terminal emulator, iTerm is stellar, but the terminal emulator does not handle things such as autosuggestions, that's all up to the shell.

rasengan|4 years ago

There are some shells [1] that can do that based off your history. This doesn't answer your question but may provide an alternative.

[1] https://fishshell.com/

5ESS|4 years ago

Tabby