aboutsummaryrefslogtreecommitdiff
path: root/bin/sh
diff options
context:
space:
mode:
authorGraham Perrin <grahamperrin@gmail.com>2025-01-03 21:03:40 +0000
committerWarner Losh <imp@FreeBSD.org>2025-04-28 21:48:12 +0000
commit44231935d90c60aa814a1f47a0a8d8fd1c8bb216 (patch)
tree6a0e8864cab3a62552b06679a4441a185079bfd7 /bin/sh
parent2abdb305bd0c105226f6a71a8d3dc89698c9ef6b (diff)
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/dot.shrc4
1 files changed, 3 insertions, 1 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