Update inputrc config and bash config

Bug #103986 reported by Steven Harms on 2007-04-07
This bug affects 5 people
Affects Status Importance Assigned to Milestone
base-files (Ubuntu)
Declined for Jaunty by Micah Gersten
Declined for Karmic by Micah Gersten
Nominated for Lucid by michael perigard
readline6 (Ubuntu)
Declined for Jaunty by Micah Gersten
Declined for Karmic by Micah Gersten
Nominated for Lucid by michael perigard

Bug Description

Binary package hint: base-files


Please update /etc/inputrc to include the following:

$if Bash
    # Search history back and forward using page-up and page-down
    "\e[5~": history-search-backward
    "\e[6~": history-search-forward

    # Completion
    set match-hidden-files off
    set page-completions off
    set completion-query-items 350
    set show-all-if-ambiguous on


Please update /etc/skel/.bashrc to include the following:
export HISTSIZE=1000
export HISTFILESIZE=1000
shopt -s histappend

Richard Johnson (nixternal) wrote :

this is a great addition as it cuts down typing or creating bash scripts for all of my ssh connections

Changed in base-files:
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Steven Harms (sharms) wrote :


should read:


description: updated
Przemek K. (azrael) wrote :

Any chance for getting it into hardy?

nescius (martin-zboril-gmail) wrote :

is there any reason why this is not already included?

I agree, especially about show-all-if-ambiguous. It makes a huge improvement to the usability of tab-completion, and it dramatically reduces irrelevant beeping. If this setting is off, it causes frustration with the mis-use of the system bell, eg here: http://bugzilla.gnome.org/show_bug.cgi?id=335949

Incidentally, Mandriva and Gentoo default to having show-all-if-ambiguous on, but Debian/Fedora/SuSE leave it off.

Just my 2 cents...

After migrating from Gentoo, I must say that this has been a major annoyance. The lack of full colors, small history, and missing page up/down completion in Ubuntu really needs to be fixed.

Przemek K. (azrael) wrote :

Maybe it would be easier to fix this bug if someone forwarded this bug to Debian.

Przemek K. (azrael) wrote :

I think this one setting would clutter the prompt too much:
The current default prompt is fine for me.

Steven Harms (sharms) wrote :

Przemyslaw -- history -a just tells it to add to the history, it doesn't actually display anything :)

Alexander Kabakow (alexzak) wrote :

I this bug should be assigned to the readline package?

And here #89235 Teej (xteejx) says that page up and down keys still don't work

Is this still an issue for you? What Ubuntu version do you use? Thank you for telling us!

Changed in readline6 (Ubuntu):
status: New → Incomplete
Changed in base-files (Ubuntu):
status: Confirmed → Incomplete

The inputrc one is definitely an issue. It's easy to change manually after installation, but show-all-if-ambiguous on is so useful, and such a no-brainer to include that I would urge you to make the change.

Sorry, forgot to say, still present in Quantal.

Changed in readline6 (Ubuntu):
status: Incomplete → Confirmed
Changed in base-files (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.