diff -r 333964c621f1 -r cb59d6afeb61 openpkg/dot.bash_login --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openpkg/dot.bash_login Tue Jan 06 23:40:39 2009 +0100 @@ -0,0 +1,38 @@ +## +## @l_prefix@/.bash_login -- Local Bash Login Script +## + +# provide user and host information in default prompt +PS1="\u@\h\$ " + +# environment permissions +umask 022 +ulimit -c 16384 + +# history functionality +shopt -s histappend +HISTSIZE=100 +HISTFILESIZE=100 + +# various additional variables +export TMPDIR=/tmp +export BLOCKSIZE=1024 + +# activate the bootstrapping Bourne-Shell +# environment of the OpenPKG hierarchy +eval `@l_prefix@/bin/openpkg rc --eval openpkg env` + +# make sure some non-standard but usually +# important executable directories are active +test -d /usr/ccs/bin && PATH="$PATH:/usr/ccs/bin" +test -d /usr/local/bin && PATH="$PATH:/usr/local/bin" + +# initially adjust $PWD to symbolic path +cd $HOME + +# path to bash environment init script +BASH_ENV=$HOME/.bashrc + +# source the standard environment script +. $BASH_ENV +