aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/dot.shrc
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/dot.shrc')
-rw-r--r--bin/sh/dot.shrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/sh/dot.shrc b/bin/sh/dot.shrc
index 75d0ec047734..a3317108944c 100644
--- a/bin/sh/dot.shrc
+++ b/bin/sh/dot.shrc
@@ -1,4 +1,3 @@
-# $FreeBSD$
#
# .shrc - bourne shell startup file
#
@@ -35,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