TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Aish – shell script one-liner solutions from AI in your terminal prompt

1 pointsby chr15malmost 2 years ago

1 comment

chr15malmost 2 years ago
I often find myself looking up &quot;bash for loop syntax&quot;, or forgetting the flags for ImageMagick, or the name of that one amazing command I just read about. I built aish as an experiment to see if Shoggoth has a better memory than me. I was surprised by how well it works. Queries like &quot;name the process running on port 8000&quot; work very well indeed.<p>I designed aish as a single portable shell script that can be sourced in both bash and zsh. When you run it you get the option of inserting the AI suggested solution into your shell history. That means you can press up once to get access to the command and either run or edit it. The goal was for this to be faster and more intuitive than going to the ChatGPT page, typing your prompt out, and copy-pasting the response into your terminal. I think it works well and hopefully it will work for you too. Cheers!