So far we have discovered our way around the command line and started to get the hang of ZLE. It's time we kick it up a notch though, so we can see what the line editor is really capable of.
This chapter wouldn't be complete without some options for us to tinker with now, would it? The following are some things to try if you are looking to modify ZLE's default behavior:
NO_BEEP
: This option skips beeping on errors.OVERSTRIKE
: This defaults the editor to the insert mode. The way it works is that each new character replaces the one to the immediate right, instead of displacing it one position to the right as default.SINGLELINEZLE
: It turns off multiline editing. No, I'm not on drugs. This could be used as a reminder of darker times.
Sprinkle some of these on your startup files (namely, .zshrc
) and you'll be all set.