# /etc/skel/.bashrc # # This file is sourced by all *interactive* bash shells on startup, # including some apparently interactive shells such as scp and rcp # that can't tolerate any output. So make sure this doesn't display # anything or bad things will happen ! # Test for an interactive shell. There is no need to set anything # past this point for scp and rcp, and it's important to refrain from # outputting anything in those cases. if [[ $- != *i* ]] ; then # Shell is non-interactive. Be done now! return fi # Put your fun stuff here. # # [MCA]. Users link to this file, to partake in gentoo patch flow. # So (at least till I learn a better way) here is their stuff, all in one place: export LANG='en_CA' # for Java in particular (if this causes problems for root, then move it into mike/tester below) stty stop 'undef' # was ^s (Ctrl-S) which clobbers BASH's history search (Ctrl-S, Ctrl-R) if [ "$USER" = "mike" -o "$USER" = "tester" ] ; then # export PATH=$HOME/system/bin:$PATH PATH=$HOME/system/bin:$PATH fi if [ "$USER" = "tester" ] ; then export JAR_WRAPPER_OPT="-Djava.util.logging.config.file=$HOME/.java/logging.properties -enableassertions:votorola... -Xfuture" PATH=$PATH:/home/mike/var/deploy/votorola/votorola/a/manline/bin MANPATH=$MANPATH:/home/mike/var/deploy/votorola/votorola/a/manline/man # since /etc/man.conf does not specify NOAUTOPATH, this ought to be unnecessary; it should look in this location automatically fi #shopt -s histappend # exiting shell appends to .bash_history, instead of overwriting it # hopefully this will prevent occaisional deletion of all lines, that I am seeing ## this is now the default, in /etc/bash/bashrc export HISTSIZE=3000 # lines to copy from .bash_history to starting shell, and from exiting shell to .bash_history history file on exit (default is 500) # dropped from 30000 after system hang (while paging Emacs buffers) #export HISTFILESIZE=30000 # truncation, default is none if histappend is in effect (I think); 500 otherwise export HISTCONTROL=ignoredups # only ignores consecutive duplicates # see /usr/local/bin/collapse-bash-history