1 # This file is sourced by all *interactive* bash shells on startup,
2 # including some apparently interactive shells such as scp and rcp
3 # that can't tolerate any output. So make sure this doesn't display
4 # anything or bad things will happen!
6 # Test for an interactive shell. There is no need to set anything
7 # past this point for scp and rcp, and it's important to refrain from
8 # outputting anything in those cases.
9 if [[ $- != *i* ]] ; then
10 # Shell is non-interactive. Be done now!
14 #source .bashrc.d/local_paths
16 # If not running interactively, don't do anything else
17 [ -z "$PS1" ] && return
19 # don't put duplicate line in the history and ignore lines starting
20 # with a space. See bash(1).
21 export HISTCONTROL=ignoreboth
23 # check the window size after each command and, if necessary,
24 # update the values of LINES and COLUMNS.
27 source .bashrc.d/environment
28 #source .bashrc.d/screen
29 #source .bashrc.d/completion
30 #source .bashrc.d/nobeep
31 #source .bashrc.d/lesspipe
32 source .bashrc.d/ssh_agent
33 source .bashrc.d/gpg_agent
36 if [ -f ~/.bash_aliases ]; then
40 source "${DOTFILES_DIR}/src/.bashrc.d/dotfiles"