Hacker News new | ask | show | jobs
by adulakis 1405 days ago
search history like "hist tsc"

  hist() {
    history | grep $1
  }
1 comments

Ctrl-r tsc will also work, and give you the ability to refine and run the command directly.