1# $Id: dot.profile,v 1.11 1997/03/08 16:35:39 wosch Exp $
| 1# $Id: dot.profile,v 1.12 1997/07/15 09:37:02 charnier Exp $
|
2# 3# .profile - Bourne Shell startup script for login shells 4# 5# see also sh(1), environ(7). 6# 7 8# add /usr/games or /usr/X11R6/bin if you want 9PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:$HOME/bin; export PATH 10 11# Setting TERM is normally done through /etc/ttys. Do only override 12# if you're sure that you'll never log in via telnet or xterm or a 13# serial line. 14# Use cons25l1 for iso-* fonts 15# TERM=cons25; export TERM 16 17BLOCKSIZE=K; export BLOCKSIZE 18EDITOR=vi; export EDITOR 19PAGER=more; export PAGER 20
| 2# 3# .profile - Bourne Shell startup script for login shells 4# 5# see also sh(1), environ(7). 6# 7 8# add /usr/games or /usr/X11R6/bin if you want 9PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:$HOME/bin; export PATH 10 11# Setting TERM is normally done through /etc/ttys. Do only override 12# if you're sure that you'll never log in via telnet or xterm or a 13# serial line. 14# Use cons25l1 for iso-* fonts 15# TERM=cons25; export TERM 16 17BLOCKSIZE=K; export BLOCKSIZE 18EDITOR=vi; export EDITOR 19PAGER=more; export PAGER 20
|
21# file permissions: rwxr-xr-x 22# 23# umask 022 24 25# Uncomment next line to enable the builtin emacs(1) command line editor 26# in sh(1), e.g. C-a -> beginning-of-line. 27# set -o emacs 28 29 30# some useful aliases 31alias h='fc -l' 32alias j=jobs 33alias m=$PAGER 34alias ll='ls -laFo' 35alias l='ls -l' 36alias g='egrep -i' 37 38# # be paranoid 39# alias cp='cp -ip' 40# alias mv='mv -i' 41# alias rm='rm -i' 42 43
| |
44# # 8-bit locale (English, USA), to read umlauts in vi(1). 45# LANG=en_US.ISO_8859-1; export LANG 46
| 21# # 8-bit locale (English, USA), to read umlauts in vi(1). 22# LANG=en_US.ISO_8859-1; export LANG 23
|
47 48# # set prompt: ``username@hostname$ '' 49# PS1="`whoami`@`hostname | sed 's/\..*//'`" 50# case `id -u` in 51# 0) PS1="${PS1}# ";; 52# *) PS1="${PS1}$ ";; 53# esac 54 55# search path for cd(1) 56# CDPATH=.:$HOME
| 24# set ENV to a file invoked each time sh is started for interactive use. 25ENV=$HOME/.shrc; export ENV
|
| |