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

I agree, although otoh, the inputrc change is not specific to bash. It is useful for any cli that uses readline (mysql, python prompt, pgcli,...). Other useful inputrc settings I have in mine :

# - when performing completion in the middle of a word, do not insert characters # from the completion that match characters after point in the word being # completed

  set skip-completed-text on
# - displays possible completions using different colors according to file type.

  set colored-stats on
# - show completed prefix in a different color

  set colored-completion-prefix on
# - jump temporarily to matching open parenthesis

  set blink-matching-paren on

  set expand-tilde on
  set history-size -1
  set history-preserve-point on


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

Search: