sh-remember-variable-min

sh-remember-variable-min is a variable defined in `sh-script.el'.
Its value is
3


Documentation:
Don't remember variables less than this length for completing reads.

You can customize this variable.