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"
See also
vared VAR
: edit variable inline!!
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"