From 72adae90498c0efa144eee1a34b723b1c2030de3 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sat, 16 Aug 2025 06:22:12 +0300 Subject: [PATCH] history: add and example to add to history without running (#17674) --- pages/common/history.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/common/history.md b/pages/common/history.md index 9133cd1d24..cbd0e04edc 100644 --- a/pages/common/history.md +++ b/pages/common/history.md @@ -1,6 +1,6 @@ # history -> Command-line history. +> Manage command-line history. > More information: . - Display the commands history list with line numbers: @@ -26,3 +26,7 @@ - [d]elete the history entry at the specified offset: `history -d {{offset}}` + +- Add a command to history without running it: + +`history -s {{command}}`