git: 44231935d90c - main - dot.shrc: words to words, should be singular

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 28 Apr 2025 21:49:20 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=44231935d90c60aa814a1f47a0a8d8fd1c8bb216

commit 44231935d90c60aa814a1f47a0a8d8fd1c8bb216
Author:     Graham Perrin <grahamperrin@gmail.com>
AuthorDate: 2025-01-03 21:03:40 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-04-28 21:48:12 +0000

    dot.shrc: words to words, should be singular
    
    Jump from one word to another. Not words to words.
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1565
---
 bin/sh/dot.shrc     | 4 +++-
 share/skel/dot.shrc | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/bin/sh/dot.shrc b/bin/sh/dot.shrc
index 2bcedf44a40e..a3317108944c 100644
--- a/bin/sh/dot.shrc
+++ b/bin/sh/dot.shrc
@@ -34,9 +34,11 @@
 bind ^[[A ed-search-prev-history
 bind ^[[B ed-search-next-history
 
-# # ctrl+arrow allow to jump from words to words
+# # Ctrl+right arrow: go to the next word
+# # Ctrl+left arrow: go to the previous word
 bind "\\e[1;5C" em-next-word
 bind "\\e[1;5D" ed-prev-word
+
 alias history='fc -l'
 
 # Fix home/del for mobaxterm
diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc
index 1fbda154c020..aa1a22eb0b02 100644
--- a/share/skel/dot.shrc
+++ b/share/skel/dot.shrc
@@ -34,9 +34,11 @@ alias g='egrep -i'
 bind ^[[A ed-search-prev-history
 bind ^[[B ed-search-next-history
 
-# # ctrl+arrow allow to jump from words to words
+# # Ctrl+right arrow: go to the next word
+# # Ctrl+left arrow: go to the previous word
 bind "\\e[1;5C" em-next-word
 bind "\\e[1;5D" ed-prev-word
+
 alias history='fc -l'
 
 # Fix home/del for mobaxterm