Copyright 2001-2012 T. Kurt Bond

Fri, 24 Apr 2009

< multipart/alternative | MAIN | Keep on the Borderlands, Session C1: Character Generation, part 1 >
Case-insenstive filename completion with bash and emacs

It's strange, I know, that while I like case sensitive filenames, I don't actually want to be bothered matching the case exactly when I'm using tab completion. Fortunately, emacs and bash both accommodate my whims. For bash, add

set completion-ignore-case on

to your ~/.inputrc file. For emacs, add

(read-file-name-completion-ignore-case t)

to your emacs initialization files. Of course, if want to get rid of all completion case sensitivity, you need

(setq completion-ignore-case t)

too.


Archives