Skip to Content
Learning Shell Scripting with Zsh
book

Learning Shell Scripting with Zsh

by Gaston Festari
January 2014
Beginner
132 pages
2h 45m
English
Packt Publishing
Content preview from Learning Shell Scripting with Zsh

Chapter 2. Alias and History

In this chapter, we'll expand on the basics of zsh while focusing on aliases, one of the most time-saving features available. We'll take a closer look at how aliases work and learn to replace long, boring commands with our own short versions and automate the whole process within the startup files. We'll then move on to brace expansion, in order to avoid typing extra keystrokes whenever we can. Instead of typing the same things over again, we'll learn how to work with zsh's history and history expansion mechanisms and incorporate these new features into our workflow.

Working with aliases

An alias is an alternative way of saying the same thing. Think of it as a nickname for your commands. Though, unlike the embarrassing ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Zsh in macOS: Terminal Commands for Unix

Zsh in macOS: Terminal Commands for Unix

Karl Hadwen

Publisher Resources

ISBN: 9781783282937Supplemental Content