//View Tip #377
Similar Tips
» Counts files in the current directory and subdirectory
» .. revisited
» list the most recent files in a directory
» Find occurrences of a string in a large code base without firing
» Change file extension revisited

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
Try changing the following in your ~/.inputrc to alter the behaviour of auto completion on application/file names:

set completion-ignore-case on
- performs filename matching and completion in a case-insensitive fashion. The default value is 'off'.

set completion-query-items 200
- number of possible completions that determines when the user is asked if they want to see the list of possibilities. The default limit is 100.

show-all-if-ambiguous
- if set to 'on', words which have more than one possible completion cause the matches to be listed immediately instead of ringing the bell. The default value is 'off'.

visible-stats
- if set to 'on', a character denoting a file's type is appended to the filename when listing possible completions. The default is 'off'.


View Comments »



Comments 

Add your comment

CAPTCHA

No HTML allowed. URLs will be linked with nofollow attribute. Whitespace is preserved.

Running ubuntu and with bash, using the last 2 settings breaks my bash session. Typing some letters does a bell and no letter gets printed.
Posted 2008-10-21 12:58:46

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit