In this video, learn about the basics of expansion. Expansion in Zsh allows you to use shortcuts to represent larger amounts of information.
we don't always need or want to type things explicitly. … And in some cases, it's not even possible … to type out information we need to use, … like the output of programs or evaluations. … Expansions are a whole set of behaviors … that use a pattern to stand in or represent … something else in a command. … This is a list of the order … and we'll take a look briefly at most of them. … Many of the expansions have dozens of options and behaviors … that I can't cover in detail here. … So if you want to dig into those, … take a look at the expansion section … of the Z shell man page. … You can get to that by typing man zshexpn. … History expansion is related to the usage … of the command history, as we saw earlier. … History expansion comes into play … when we use exclamation mark as a shorthand … to replace previous commands. … We can use exclamation mark and the number … to recall a specific command from the history … because each command is given a number. … We can see the numbers for historical commands …
- Using Zsh as your primary shell
- Functions in Zsh
- Navigating your file system with Zsh
- Finding files and commands
- Autocompletion in Zsh
- Recalling and using previous commands
- Writing scripts using Zsh
- Configuring Zsh
- Customizing the prompt
Skill Level Intermediate
1. Zsh Foundations
2. Using Zsh
3. Customizing Zsh
Next steps1m 28s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.