3 ms·
The inputrc change is nice, but not quite the same as what fish does. If I type a part of a previous command in and then press the up arrow in fish it will onl
by NegativeLatency 6y ago
The inputrc change is nice, but not quite the same as what fish does.
If I type a part of a previous command in and then press the up arrow in fish it will only cycle through history records that contain that as a substring (which is really the killer part of the feature).
(Yes I know you can do similar things in bash but you have to press other keys to put it in the history search mode)
- devnonymous 6y agoI 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