2 # .shrc - bourne shell startup file
4 # This file will be used if the shell is invoked for interactive use and
5 # the environment variable ENV is set to this file.
7 # see also sh(1), environ(7).
11 # file permissions: rwxr-xr-x
15 # Uncomment this to enable the builtin vi(1) command line editor in sh(1),
16 # e.g. ESC to go into visual mode.
20 # # some useful aliases
33 # # csh like history on arrow up and down
34 bind ^[[A ed-search-prev-history
35 bind ^[[B ed-search-next-history
37 # # ctrl+arrow allow to jump from words to words
38 bind "\\e[1;5C" em-next-word
39 bind "\\e[1;5D" ed-prev-word
42 # Fix home/del for mobaxterm
43 bind ^[[5~ ed-move-to-beg
44 bind ^[[6~ ed-move-to-end
46 # read(2) of directories may not be desirable by default, as this will provoke
47 # EISDIR errors from each directory encountered.
48 # alias grep='grep -d skip'
50 # set prompt: ``username@hostname:directory $ ''
53 # search path for cd(1)