@@ -26,3 +26,11 @@
|
|||||||
- Substitute with the last argument of the latest command:
|
- Substitute with the last argument of the latest command:
|
||||||
|
|
||||||
`{{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`
|
||||||
|
Reference in New Issue
Block a user