|
1 ## |
|
2 ## @l_prefix@/.bash_login -- Local Bash Login Script |
|
3 ## |
|
4 |
|
5 # provide user and host information in default prompt |
|
6 PS1="\u@\h\$ " |
|
7 |
|
8 # environment permissions |
|
9 umask 022 |
|
10 ulimit -c 16384 |
|
11 |
|
12 # history functionality |
|
13 shopt -s histappend |
|
14 HISTSIZE=100 |
|
15 HISTFILESIZE=100 |
|
16 |
|
17 # various additional variables |
|
18 export TMPDIR=/tmp |
|
19 export BLOCKSIZE=1024 |
|
20 |
|
21 # activate the bootstrapping Bourne-Shell |
|
22 # environment of the OpenPKG hierarchy |
|
23 eval `@l_prefix@/bin/openpkg rc --eval openpkg env` |
|
24 |
|
25 # make sure some non-standard but usually |
|
26 # important executable directories are active |
|
27 test -d /usr/ccs/bin && PATH="$PATH:/usr/ccs/bin" |
|
28 test -d /usr/local/bin && PATH="$PATH:/usr/local/bin" |
|
29 |
|
30 # initially adjust $PWD to symbolic path |
|
31 cd $HOME |
|
32 |
|
33 # path to bash environment init script |
|
34 BASH_ENV=$HOME/.bashrc |
|
35 |
|
36 # source the standard environment script |
|
37 . $BASH_ENV |
|
38 |