michael@13: ## michael@13: ## @l_prefix@/.bash_login -- Local Bash Login Script michael@428: ## Copyright (c) 2000-2012 OpenPKG GmbH michael@428: ## michael@428: ## This software is property of the OpenPKG GmbH, DE MUC HRB 160208. michael@428: ## All rights reserved. Licenses which grant limited permission to use, michael@428: ## copy, modify and distribute this software are available from the michael@428: ## OpenPKG GmbH. michael@428: ## michael@428: ## THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED michael@428: ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF michael@428: ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. michael@428: ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR michael@428: ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, michael@428: ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT michael@428: ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF michael@428: ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND michael@428: ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, michael@428: ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT michael@428: ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF michael@428: ## SUCH DAMAGE. michael@13: ## michael@13: michael@13: # provide user and host information in default prompt michael@13: PS1="\u@\h\$ " michael@13: michael@13: # environment permissions michael@13: umask 022 michael@13: ulimit -c 16384 michael@13: michael@13: # history functionality michael@13: shopt -s histappend michael@13: HISTSIZE=100 michael@13: HISTFILESIZE=100 michael@13: michael@13: # various additional variables michael@13: export TMPDIR=/tmp michael@13: export BLOCKSIZE=1024 michael@13: michael@13: # activate the bootstrapping Bourne-Shell michael@13: # environment of the OpenPKG hierarchy michael@13: eval `@l_prefix@/bin/openpkg rc --eval openpkg env` michael@13: michael@13: # make sure some non-standard but usually michael@13: # important executable directories are active michael@13: test -d /usr/ccs/bin && PATH="$PATH:/usr/ccs/bin" michael@13: test -d /usr/local/bin && PATH="$PATH:/usr/local/bin" michael@13: michael@13: # initially adjust $PWD to symbolic path michael@13: cd $HOME michael@13: michael@13: # path to bash environment init script michael@13: BASH_ENV=$HOME/.bashrc michael@13: michael@13: # source the standard environment script michael@13: . $BASH_ENV michael@13: