Initial import from FreeBSD RELENG_4:
[dragonfly.git] / share / skel / dot.shrc
1 # $FreeBSD: src/share/skel/dot.shrc,v 1.2 1999/08/28 00:21:54 peter Exp $
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 # Uncomment next line to enable the builtin emacs(1) command line editor
17 # in sh(1), e.g. C-a -> beginning-of-line.
18 # set -o emacs
19
20
21 # some useful aliases
22 alias h='fc -l'
23 alias j=jobs
24 alias m=$PAGER
25 alias ll='ls -laFo'
26 alias l='ls -l'
27 alias g='egrep -i'
28  
29 # # be paranoid
30 # alias cp='cp -ip'
31 # alias mv='mv -i'
32 # alias rm='rm -i'
33
34
35 # # set prompt: ``username@hostname$ '' 
36 # PS1="`whoami`@`hostname | sed 's/\..*//'`"
37 # case `id -u` in
38 #       0) PS1="${PS1}# ";;
39 #       *) PS1="${PS1}$ ";;
40 # esac
41
42 # search path for cd(1)
43 # CDPATH=.:$HOME