git: 5fe973734866 - main - skel: update .shrc as well

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 20 Oct 2021 09:24:42 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=5fe97373486619373e3eeecb25582b5c937a26c5

commit 5fe97373486619373e3eeecb25582b5c937a26c5
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2021-10-20 09:23:13 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2021-10-20 09:23:13 +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
---
 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 \\$ "