McFly

Dev tools

shell history search

SHOW HN2018

130points
56comments
#324of 2,155 in 2018
Top 16%of 2018 by points

How HN took it

CuriousMostly questions and neutral comments

5 positive, 10 neutral or asking, 1 mixed, 2 critical, out of 18 comments about the project. Thread score +0.16.

Idea: 2 for, 1 againstExecution: 1 for, 0 againstPrivacy: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Well executed and useful CLI

    From 2 comments
    • Cool project and well executed. My only complaints are: 1. The GUI should display at the bottom of the screen rather than at the top. I found myself constantly having to jump my…
      president on HN
    • It's fantastic and very useful! Good work!!
      tinchox5 on HN
  • Good example of Rust for CLIs

    From 1 comment
    • This is such a cool project! Plus a pretty awesome example of using Rust for CLI's. I'm curious about the neural network though. Is that also written in Rust? Or are you…
      bhargav_ on HN

Objections

  • Neural network unnecessary; simpler history tools already work well

    From 1 comment
    • For zsh, zaw[1]'s history is insanely useful. I don't really think a neural network is needed. Usually I get to the exact line I wanted with a few keystrokes. [1]:…
      rane on HN
  • GUI results shown at top of screen rather than near the command

    From 1 comment
    • Cool project and well executed. My only complaints are: 1. The GUI should display at the bottom of the screen rather than at the top. I found myself constantly having to jump my…
      president on HN

Requests

  • Support for other shells such as fish

    From 2 comments
    • Would it be much work to make this work with other shells? Personally I use fish, and would love to give this a spin with fzf.
      fenrisbear on HN
    • Same thing.
      qwerty456127 on HN
  • Show full commands in results without truncation

    From 1 comment
    • Cool project and well executed. My only complaints are: 1. The GUI should display at the bottom of the screen rather than at the top. I found myself constantly having to jump my…
      president on HN
  • Online learning that updates weights as you use it

    From 1 comment
    • Good question. At the moment it's static. I plan to make it do online learning at some point where it updates the weights as you use it.
      tectonic on HN

Questions

  • How does it compare with fzf?

    From 1 comment
  • Does it constantly adapt to user history?

    From 1 comment
    • Nifty! Is the neural network constantly being adjusted from the user's own patterns of history re-use? This also reminds me of one of my dream features for a shell: full dataflow…
      gojomo on HN

Alternatives named

  • fzf

    From 2 comments
    • How does this compare with fzf?
      xxpor on HN
    • No, fzf is highly extensible. It can be used for files, grep, RG, git grep, bash history, and tons more.
      chongli on HN
  • zaw for zsh

    From 1 comment
    • For zsh, zaw[1]'s history is insanely useful. I don't really think a neural network is needed. Usually I get to the exact line I wanted with a few keystrokes. [1]:…
      rane on HN
  • Readline history-search-backward bindings

    From 2 comments
    • I rarely use ctrl+r, because most of the time I'm searching based on command name, which is at the start (unless it is in pipeline, etc).. so, I use this instead in `.inputrc`:…
      asicsp on HN
    • This is actually a general feature of the GNU readline library, which a lot of programmes including bash use. For instance, a lot of REPLs like ghci use it.…
      0db532a0 on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/18593015)