I have an irritating shell at work which asks me for confirmation every time I press TAB and the list is about to be big:
There are 96 rows, list them anyway? [n/y]
I've been looking for a way to get rid of it in the tcsh man, but failed to find a way.
When looking for similar questions, I get mostly people who want to cancel the autolisting, but nobody wants to enhance it...
In case it matters, autolist value is defined but empty (set autolist)
Someone knows how to tackle it?
This is controlled with the listmax
and listmaxrows
settings; from the manpage:
listmax and listmaxrows can be set to limit the number of items and
rows (respectively) that are listed without asking first.
[..]
listmax (+)
The maximum number of items which the list-choices editor com‐
mand will list without asking first.
listmaxrows (+)
The maximum number of rows of items which the list-choices edi‐
tor command will list without asking first.
The default is unlimited, so they were probably added to your ~/.cshrc
or ~/.tcshrc
, or they're set in the system-wide files in /etc
.
At any rate, you can disable it with unset
:
unset listmax listmaxrows