PageRenderTime 19ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/share/skel/dot.shrc

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 47 lines | 37 code | 10 blank | 0 comment | 0 complexity | ac78b7abcdfbfdceb29d232cdc091559 MD5 | raw file
 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.
18set -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
26alias h='fc -l'
27alias j=jobs
28alias m=$PAGER
29alias ll='ls -laFo'
30alias l='ls -l'
31alias 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