Case-insensitive Tab auto completion in Bash/Csh shell

This is a very useful shell setting. Add the following commands to your .bashrc or .cshrc.


set autolist # for listing the suggestions
set complete=enhance #for case-insensitive

When you press tab in bash shell, now irrespective of the case of the file name, it will list the suggestions and auto fills the name, if only one with that name is available.

Previous Post
Next Post
Leave a comment

Leave a comment

  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 1 other subscriber
  • Calendar

    September 2011
    M T W T F S S
     1234
    567891011
    12131415161718
    19202122232425
    2627282930  
  • Tag Cloud

    bash shell cshell google featured images images picassa picture of the day tips