Book Image

Learning Shell Scripting with Zsh

By : Gaston Festari
Book Image

Learning Shell Scripting with Zsh

By: Gaston Festari

Overview of this book

Table of Contents (13 chapters)


In this chapter we took a deep dive into what goes on between the prompt and the shell by the time you press return. We discovered some new tricks to work with history and tamed the default shortcuts by creating our own keymaps and bindings. As if this wasn't enough, you now know we are no longer limited to just working with one line, and that mistakes and distractions can easily be solved by a couple of keystrokes without us re-typing the whole line.

Okay, I'll admit it, we have been pretty busy in this chapter. So here's a chance to catch your breath while we go over everything we've covered in this sprint. What we have done is:

  • Learned that zsh is made out of various modules, and got acquainted with ZLE

  • Used key maps for editing text and learned about various shortcuts to improve our productivity in the command line

  • Defined our own custom keymaps and worked with various regions and multiline prompts

  • Learned about widgets, special functions that carry out every little task in the editor...