dot.profile revision 23532
123532Swosch# $Id: dot.profile,v 1.10 1997/02/22 13:56:33 peter Exp $ 212554Sjkh# 318450Swosch# .profile - Bourne Shell startup script for login shells 418450Swosch# 518450Swosch# see also sh(1), environ(7). 618450Swosch# 715734Swosch 818450Swosch# add /usr/games or /usr/X11R6/bin if you want 918450SwoschPATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:$HOME/bin; export PATH 1015750Swosch 1122855Sjoerg# Setting TERM is normally done through /etc/ttys. Do only override 1222855Sjoerg# if you're sure that you'll never log in via telnet or xterm or a 1322855Sjoerg# serial line. 1422855Sjoerg# Use cons25l1 for iso-* fonts 1523532Swosch# TERM=cons25; export TERM 1618450Swosch 1718450SwoschBLOCKSIZE=K; export BLOCKSIZE 1818450SwoschEDITOR=vi; export EDITOR 1918450SwoschPAGER=more; export PAGER 2018450Swosch 2118450Swosch# file permissions: rwxr-xr-x 2218450Swosch# 2318450Swosch# umask 022 2418450Swosch 2515734Swosch# Uncomment next line to enable the builtin emacs(1) command line editor 2615734Swosch# in sh(1), e.g. C-a -> beginning-of-line. 2715734Swosch# set -o emacs 2815734Swosch 2915750Swosch 3023532Swosch# some useful aliases 3123532Swoschalias h='fc -l' 3223532Swoschalias j=jobs 3323532Swoschalias m=$PAGER 3423532Swoschalias ll='ls -lagFo' 3523532Swoschalias l='ls -l' 3623532Swoschalias g='egrep -i' 3715750Swosch 3815750Swosch# # be paranoid 3915750Swosch# alias cp='cp -ip' 4015750Swosch# alias mv='mv -i' 4115750Swosch# alias rm='rm -i' 4215750Swosch 4315750Swosch 4418450Swosch# # 8-bit locale (English, USA), to read umlauts in vi(1). 4515750Swosch# LANG=en_US.ISO_8859-1; export LANG 4615750Swosch 4715750Swosch 4815750Swosch# # set prompt: ``username@hostname$ '' 4915750Swosch# PS1="`whoami`@`hostname | sed 's/\..*//'`" 5015750Swosch# case `id -u` in 5115750Swosch# 0) PS1="${PS1}# ";; 5215750Swosch# *) PS1="${PS1}$ ";; 5315750Swosch# esac 5423532Swosch 5523532Swosch# search path for cd(1) 5623532Swosch# CDPATH=.:$HOME 57