1997-03-08 17:35:39 +01:00
|
|
|
# $Id: dot.profile,v 1.10 1997/02/22 13:56:33 peter Exp $
|
1995-12-01 09:41:35 +01:00
|
|
|
#
|
1996-09-21 23:35:47 +02:00
|
|
|
# .profile - Bourne Shell startup script for login shells
|
|
|
|
#
|
|
|
|
# see also sh(1), environ(7).
|
|
|
|
#
|
|
|
|
|
|
|
|
# add /usr/games or /usr/X11R6/bin if you want
|
|
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:$HOME/bin; export PATH
|
|
|
|
|
1997-02-17 19:56:29 +01:00
|
|
|
# Setting TERM is normally done through /etc/ttys. Do only override
|
|
|
|
# if you're sure that you'll never log in via telnet or xterm or a
|
|
|
|
# serial line.
|
|
|
|
# Use cons25l1 for iso-* fonts
|
1997-03-08 17:35:39 +01:00
|
|
|
# TERM=cons25; export TERM
|
1996-05-11 21:15:17 +02:00
|
|
|
|
1996-09-21 23:35:47 +02:00
|
|
|
BLOCKSIZE=K; export BLOCKSIZE
|
|
|
|
EDITOR=vi; export EDITOR
|
|
|
|
PAGER=more; export PAGER
|
|
|
|
|
|
|
|
# file permissions: rwxr-xr-x
|
|
|
|
#
|
|
|
|
# umask 022
|
1996-05-12 16:32:23 +02:00
|
|
|
|
1996-05-11 21:15:17 +02:00
|
|
|
# Uncomment next line to enable the builtin emacs(1) command line editor
|
|
|
|
# in sh(1), e.g. C-a -> beginning-of-line.
|
|
|
|
# set -o emacs
|
|
|
|
|
1996-05-12 16:32:23 +02:00
|
|
|
|
1997-03-08 17:35:39 +01:00
|
|
|
# some useful aliases
|
|
|
|
alias h='fc -l'
|
|
|
|
alias j=jobs
|
|
|
|
alias m=$PAGER
|
|
|
|
alias ll='ls -lagFo'
|
|
|
|
alias l='ls -l'
|
|
|
|
alias g='egrep -i'
|
1996-05-12 16:32:23 +02:00
|
|
|
|
|
|
|
# # be paranoid
|
|
|
|
# alias cp='cp -ip'
|
|
|
|
# alias mv='mv -i'
|
|
|
|
# alias rm='rm -i'
|
|
|
|
|
|
|
|
|
1996-09-21 23:35:47 +02:00
|
|
|
# # 8-bit locale (English, USA), to read umlauts in vi(1).
|
1996-05-12 16:32:23 +02:00
|
|
|
# LANG=en_US.ISO_8859-1; export LANG
|
|
|
|
|
|
|
|
|
|
|
|
# # set prompt: ``username@hostname$ ''
|
|
|
|
# PS1="`whoami`@`hostname | sed 's/\..*//'`"
|
|
|
|
# case `id -u` in
|
|
|
|
# 0) PS1="${PS1}# ";;
|
|
|
|
# *) PS1="${PS1}$ ";;
|
|
|
|
# esac
|
1997-03-08 17:35:39 +01:00
|
|
|
|
|
|
|
# search path for cd(1)
|
|
|
|
# CDPATH=.:$HOME
|