more efficient implementation

Thanks to m0viefreak!

Conflicts:
	highlighters/main/main-highlighter.zsh