Tip: inputrc settings

Thilo Six T.Six at gmx.de
Sun May 6 07:33:40 UTC 2007


put the following either in ~/.inputrc or /etc/inputrc if you find yourself
using cli from time to time and want to make it a bit easier:

# do not casesensitive completion
set completion-ignore-case on

# if there are more than 150 possible completions for a word, ask the
# user if he wants to see all of them
set completion-query-items 150

# Adding this to your /etc/inputrc or ~/.inputrc will result in a character
# being appended to any file-names returned by completion, in much the same
# way as ls -F works.
set visible-stats on

# If you have this in your /etc/inputrc or ~/.inputrc, you will no longer
# have to hit the <Tab> key twice to produce a list of all possible
# completions.
# A single <Tab>  will suffice.
set show-all-if-ambiguous on

# Completed names which are symbolic links to
# directories have a slash appended.
set mark-symlinked-directories on

This one is allready in /etc/inputrc and only needs to be "uncommented":

# alternate mappings for "page up" and "page down" to search the history
"\e[5~": history-search-backward
"\e[6~": history-search-forward


Have fun

bye Thilo
i am on Ubuntu 2.6 KDE
- some friend of mine

gpg key: 0x4A411E09

More information about the ubuntu-users mailing list