Zsh cheatsheetEdit
Miscellaneous
vared VAR: edit variable inline
Command line substitution
!! previous command
!$ last parameter of previous command
!^ first parameter of previous command
!* all parameters of previous command
!str last command beginning with "str"
!?str last command containing "str"
Parameter expansion (see man zshexpn)
${=VAR} split $VAR into words
See also
vared VAR: edit variable inline!!previous command!$last parameter of previous command!^first parameter of previous command!*all parameters of previous command!strlast command beginning with "str"!?strlast command containing "str"
Parameter expansion (see man zshexpn)
${=VAR} split $VAR into words
See also
${=VAR} split $VAR into words