Sensible Bash

Dev tools

shell configuration

SHOW HN2016

173points
70comments
#176of 2,264 in 2016
Top 8%of 2016 by points

How HN took it

RoastedHalf or more of the comments are critical

3 positive, 3 neutral or asking, 2 mixed, 16 critical, out of 24 comments about the project. Thread score -0.41.

Idea: 2 for, 11 againstDesign: 0 for, 4 againstDocs: 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

  • Useful small collection of comfort features bash already supports

    From 1 comment
    • I like it. It is not a complete revamp of bash to something else (the zsh-comment below is not fitting), it just enables some comfort features bash readily supports. One can…
      onli on HN

Objections

  • Directory cd prepending and spelling autocorrect are risky defaults

    From 3 comments
    • > Prepend cd to directory names automatically, so you can cd into directories just by typing their name; I'm pretty sure this is a solution to a problem I don't have today. >…
      wyldfire on HN
    • > > Automatically correct spelling errors during tab-completion; > I'm terrified to put this in my shell. I had it in once (it's one the options in zsh setup) Once I was cleaning…
      hornetblack on HN
    • This looks pretty sane overall. If you try this, be aware that it changes directory navigation, i.e. "Prepend cd to directory names automatically, so you can cd into directories…
      sapht on HN
  • Treating hyphens and underscores as equivalent seems unwise

    From 2 comments
    • May be an old-fart prejudice, but my eyes cross to think that 'dash and underline are equivalent' might be a desired thing. Making bash be clever seems like a pile of pitfalls.…
      rout39574 on HN
    • Yeah, I don't get this one, either. This seems far away from sane. What's the rationality behind it?
      bpchaps on HN
  • Sensible defaults are personal; history search changes break muscle memory

    From 1 comment
    • This is why these things are so personal. I'd hate this. The up/down bindings are absolutely tied to specific command orders in my head. I need to know that "three commands back"…
      ajross on HN

Requests

  • Upstream history settings into bash defaults

    From 1 comment
    • These history settings should clearly be the real defaults. I wonder how difficult it would be to get them changed upstream? Upstreaming would also allow improvements, for…
      modeless on HN

Questions

  • Why treat hyphens and underscores as equivalent?

    From 1 comment
    • Yeah, I don't get this one, either. This seems far away from sane. What's the rationality behind it?
      bpchaps on HN

Alternatives named

  • zsh

    From 2 comments
    • In other words: making bash more like zsh
      technimad on HN
    • I'm a big fan of zsh. It doesn't seem to be solely focused on just "doing what you mean", which some of these tweaks seem aimed at; it seems aimed more at correctness. e.g., it…
      TallGuyShort on HN
  • fish

    From 2 comments
    • Most of these are included in /usr/bin/fish :)
      burgerdev on HN
    • Or just use fish. Why is this even a conversation in 2016?
      LASR 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/11211344)