Zsh Superpowers: Custom Command Expansion with ZLE

Zsh Superpowers: Custom Command Expansion with ZLE

Cloud-Native Corner

6 дней назад

715 Просмотров

In this video we are going to utilize Zsh Line Editor and zsh expansion to build a reusable command line abbreviations engine.

00:00:30 zle core concepts
00:01:45 custom widgets
00:03:15 widget flow explanation
00:04:30 abbreviation demo
00:07:00 script breakdown
00:10:15 expand abbreviation function
00:11:45 creating widgets
00:13:00 best practices
00:14:15 useful resources
00:15:00 improved man pages
00:16:30 conclusion

Resources:
- Book: Linux Command Line and Shell Scripting Bible
- The Art of Command Line: https://github.com/jlevy/the-art-of-command-line- scripts in my dotfiles: https://github.com/Piotr1215/dotfiles/tree/master/scripts
- moreutils video: https://youtu.be/9RXkZpmBDj0
- bash tutorial for beginners: https://youtu.be/q4R57RkGueY
- introduction to tmux: https://youtu.be/RmSvKKmLjGU
- Introduction to zsh: https://youtu.be/45Yiq2q_hMA
Ссылки и html тэги не поддерживаются


Комментарии: