diff --git a/pages/common/!.md b/pages/common/!.md index 7f98faddfd..7ff28e84e1 100644 --- a/pages/common/!.md +++ b/pages/common/!.md @@ -26,3 +26,11 @@ - Substitute with the last argument of the latest command: `{{command}} !$` + +- Substitute with the last command but without the last argument: + +`!:-` + +- Print last command that starts with a string without executing it: + +`!{{string}}:p`