This sounded interesting but too magicky to me and I did a google search. Most of the top results are about how to disable or limit it. :)
I believe I experienced this kind of feature with fish and it was one of the reasons I didn't like it. (Most things cannot be user configured away in fish).