]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - share/skel/dot.shrc
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / share / skel / dot.shrc
1 # $FreeBSD$
2 #
3 # .shrc - bourne shell startup file 
4 #
5 # This file will be used if the shell is invoked for interactive use and
6 # the environment variable ENV is set to this file.
7 #
8 # see also sh(1), environ(7).
9 #
10
11
12 # file permissions: rwxr-xr-x
13 #
14 # umask 022
15
16 # Enable the builtin emacs(1) command line editor in sh(1),
17 # e.g. C-a -> beginning-of-line.
18 set -o emacs
19
20 # Uncomment this and comment the above to enable the builtin vi(1) command
21 # line editor in sh(1), e.g. ESC to go into visual mode.
22 # set -o vi
23
24
25 # some useful aliases
26 alias h='fc -l'
27 alias j=jobs
28 alias m=$PAGER
29 alias ll='ls -laFo'
30 alias l='ls -l'
31 alias g='egrep -i'
32  
33 # # be paranoid
34 # alias cp='cp -ip'
35 # alias mv='mv -i'
36 # alias rm='rm -i'
37
38
39 # # set prompt: ``username@hostname$ '' 
40 # PS1="`whoami`@`hostname | sed 's/\..*//'`"
41 # case `id -u` in
42 #       0) PS1="${PS1}# ";;
43 #       *) PS1="${PS1}$ ";;
44 # esac
45
46 # search path for cd(1)
47 # CDPATH=:$HOME