1# $FreeBSD: src/share/skel/dot.shrc,v 1.2 1999/08/28 00:21:54 peter Exp $ 2# $DragonFly: src/share/skel/dot.shrc,v 1.2 2003/06/17 04:37:02 dillon Exp $ 3# 4# .shrc - bourne shell startup file 5# 6# This file will be used if the shell is invoked for interactive use and 7# the environment variable ENV is set to this file. 8# 9# see also sh(1), environ(7). 10# 11 12 13# file permissions: rwxr-xr-x 14# 15# umask 022 16 17# Uncomment next line to enable the builtin emacs(1) command line editor 18# in sh(1), e.g. C-a -> beginning-of-line. 19# set -o emacs 20 21 22# some useful aliases 23alias h='fc -l' 24alias j=jobs 25alias m=$PAGER 26alias ll='ls -laFo' 27alias l='ls -l' 28alias g='egrep -i' 29 30# # be paranoid 31# alias cp='cp -ip' 32# alias mv='mv -i' 33# alias rm='rm -i' 34 35 36# # set prompt: ``username@hostname$ '' 37# PS1="`whoami`@`hostname | sed 's/\..*//'`" 38# case `id -u` in 39# 0) PS1="${PS1}# ";; 40# *) PS1="${PS1}$ ";; 41# esac 42 43# search path for cd(1) 44# CDPATH=.:$HOME 45