Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How do I make tcsh's history isearch (ctrl-r) case insensitive? I tried "set complete=igncase" but that affects file completion, not history isearch.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

History search in tcsh always looks for an exact match (both incremental and nonincremental)¹. If you want a case-insensitive search, code it yourself, or make a feature request — but don't hold your breath, tcsh hasn't been actively developed for years.

I recommend switching to zsh, where incremental search is case-insensitive by default.

¹ As of tcsh 6.17.02. See c_search_line and e_inc_search in ed.chared.c.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.