summaryrefslogtreecommitdiffstats
path: root/.bashrc
blob: 0384e599104dc1f2ecc5a1626abcd960dd96e644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
PATH='/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'
PATH="${HOME}/bin:${PATH}"

# Interactive only beyond this point
[ -z "${PS1}" ] && return

PATH="${HOME}/ibin:${PATH}"

# Bash history
HISTSIZE=1000
HISTFILESIZE=1000
HISTCONTROL=ignoreboth
shopt -s histappend

# Prompt
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
# Terminal window title
case "${TERM}" in xterm*|rxvt*)
	PS1="\[\e]0;\u@\h:\w\a\]${PS1}"
	;;
esac

# Environment
if [ -f ~/.bash_exports ]; then
	. ~/.bash_exports
fi

# Aliases and functions
if [ -f ~/.bash_aliases ]; then
	. ~/.bash_aliases
fi

# Completions
if [ -f /etc/bash_completion ]; then
	. /etc/bash_completion
fi