Skip to content

Commit

Permalink
skel: update .shrc as well
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bapt committed Oct 20, 2021
1 parent 3f550f0 commit 5fe9737
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions share/skel/dot.shrc
Original file line number Diff line number Diff line change
Expand Up @@ -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 \\$ "
Expand Down

0 comments on commit 5fe9737

Please sign in to comment.