46 lines
1.5 KiB
Bash
46 lines
1.5 KiB
Bash
# $FreeBSD: src/share/skel/dot.profile,v 1.19.2.2 2002/07/13 16:29:10 mp Exp $
|
|
#
|
|
# .profile - Bourne Shell startup script for login shells
|
|
#
|
|
# see also sh(1), environ(7).
|
|
#
|
|
|
|
# remove /usr/games and /usr/X11R6/bin if you want
|
|
PATH=/$HOME/bin:/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/usr/games:/usr/X11R6/bin:/$HOME/.gem/ruby/1.9/bin; export PATH
|
|
case `uname` in
|
|
SunOS)
|
|
UCB_PATH=/usr/sww/lang/acl:/usr/sww/lang/jdk-1.5.0/bin:/usr/openwin/bin:/usr/dt/bin:/usr/sww/opt/java/bin:/usr/sww/bin:/share/b/grading/bin:/share/b/grading/sbin:/share/b/runas/sun4u:/share/b/bin:/home/aa/projects/scheme/bin:/usr/ucb:/usr/ccs/bin:/usr/sfw/bin; export UCB_PATH
|
|
PATH=$PATH:$UCB_PATH; export PATH
|
|
;;
|
|
Darwin)
|
|
MACPORTS_PATH=/opt/local/bin:/opt/local/sbin:/opt/local/usr/bin:/opt/local/usr/local/bin; export MACPORTS_PATH
|
|
PATH=$HOME/bin:$MACPORTS_PATH:$PATH; export PATH
|
|
export DISPLAY=:0.0
|
|
set completion-ignore-case on
|
|
;;
|
|
esac
|
|
|
|
# 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
|
|
# TERM=cons25; export TERM
|
|
|
|
BLOCKSIZE=K; export BLOCKSIZE
|
|
EDITOR=vim; export EDITOR
|
|
PAGER=less; export PAGER
|
|
|
|
# set ENV to a file invoked each time sh is started for interactive use.
|
|
ENV=$HOME/.bashrc; export ENV
|
|
|
|
MAILPATH=/var/spool/mail/$USER
|
|
for i in ~/mail/*
|
|
do
|
|
MAILPATH=$MAILPATH:$i'?You have new mail in your ${_##*/} folder'
|
|
done
|
|
export MAILPATH
|
|
unset i
|
|
|
|
#alias ls='ls -FG'
|
|
#alias la='ls -FGal'
|
|
source ~/.bashrc
|