git: 945044051809 - stable/13 - skel: update .shrc as well

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 12 Oct 2022 09:14:03 UTC
The branch stable/13 has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=945044051809a3755a76224b941cc4a404c287f2

commit 945044051809a3755a76224b941cc4a404c287f2
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2021-10-20 09:23:13 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-10-12 09:13:20 +0000

    skel: update .shrc as well
    
    Somehow we end up having 2 definition of the same .shrc in the source
    tree, both of them should have been updated.
    
    A batter fix would be to only keep one copy of the same file. but that
    would be for another commit
    
    Reported by:    lme
    
    (cherry picked from commit 5fe97373486619373e3eeecb25582b5c937a26c5)
---
 share/skel/dot.shrc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/share/skel/dot.shrc b/share/skel/dot.shrc
index f497bd66f819..56a6b1828131 100644
--- a/share/skel/dot.shrc
+++ b/share/skel/dot.shrc
@@ -31,6 +31,14 @@ alias g='egrep -i'
 # alias mv='mv -i'
 # alias rm='rm -i'
 
+# # csh like history on arrow up and down
+bind ^[[A ed-search-prev-history
+bind ^[[B ed-search-next-history
+
+# # ctrl+arrow allow to jump from words to words
+bind "\\e[1;5C" em-next-word
+bind "\\e[1;5D" ed-prev-word
+alias history='fc -l'
 
 # set prompt: ``username@hostname:directory $ '' 
 PS1="\u@\h:\w \\$ "