Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Should it really be as terse as posix shell? If you think before you type, it's not a high-frequency REPL anymore.


The main high-frequency bits are filesystem navigation and incrementally building pipes.

  cd foo/<tab>
  # oh, too many options
  <ret>
  ls -la
  cd bar/baz
  git status
  cat quux | grep xckd
  cat quux | grep -i xckd
  cat quux | grep -i xkcd
  cat quux | grep -i xkcd | xargs ...
etc.

The trial-and-error command refining is arguably what REPLs are for. It's the filesystem navigation that are the odd part.

(INB4: don't give me the "useless use of cat", it factors out better like this and everyone does it anyway.)


That's what I mean: it's a high-frequency REPL if you don't think before you type, i.e. trial and error.


FWIW, if you just like the filename on the left, you still can save forks with:

`<quux grep xkcd`


It's like trying to save money on matches.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: