From 5fe97373486619373e3eeecb25582b5c937a26c5 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 20 Oct 2021 11:23:13 +0200 Subject: [PATCH] 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 \\$ " -- 2.41.0