1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openpkg/dot.bash_login Tue Jan 06 23:40:39 2009 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +## 1.5 +## @l_prefix@/.bash_login -- Local Bash Login Script 1.6 +## 1.7 + 1.8 +# provide user and host information in default prompt 1.9 +PS1="\u@\h\$ " 1.10 + 1.11 +# environment permissions 1.12 +umask 022 1.13 +ulimit -c 16384 1.14 + 1.15 +# history functionality 1.16 +shopt -s histappend 1.17 +HISTSIZE=100 1.18 +HISTFILESIZE=100 1.19 + 1.20 +# various additional variables 1.21 +export TMPDIR=/tmp 1.22 +export BLOCKSIZE=1024 1.23 + 1.24 +# activate the bootstrapping Bourne-Shell 1.25 +# environment of the OpenPKG hierarchy 1.26 +eval `@l_prefix@/bin/openpkg rc --eval openpkg env` 1.27 + 1.28 +# make sure some non-standard but usually 1.29 +# important executable directories are active 1.30 +test -d /usr/ccs/bin && PATH="$PATH:/usr/ccs/bin" 1.31 +test -d /usr/local/bin && PATH="$PATH:/usr/local/bin" 1.32 + 1.33 +# initially adjust $PWD to symbolic path 1.34 +cd $HOME 1.35 + 1.36 +# path to bash environment init script 1.37 +BASH_ENV=$HOME/.bashrc 1.38 + 1.39 +# source the standard environment script 1.40 +. $BASH_ENV 1.41 +