]> git.wh0rd.org - home.git/blame_incremental - .bashrc
PS1: shorten slightly & add PS0 recovery
[home.git] / .bashrc
... / ...
CommitLineData
1umask 0022
2
3for sh in ~/.profile.d/{.pre,*}.sh ; do
4 . "$sh"
5done
6unset sh
7
8path_prepend /sbin /usr/sbin /usr/games/bin /usr/lib*/ccache /usr/lib*/ccache/*/ ~/.bin ~/.local/bin ~/.cargo/bin
9
10. ~/.profile.d/.post.sh
11
12s=$'\001' e=$'\002'
13export JTAG_PROMPT=$s'\e[30;1m\e[34;1m'$e'jtag'$s'\e[30;1m'$e'>'$s'\e[0m'$e' '
14unset s e
15
16export ECHANGELOG_USER="Mike Frysinger <vapier@gentoo.org>"
17export GCC_BOUNDS_OPTS=-no-message
18export HISTCONTROL=ignoreboth
19export HISTFILESIZE=30000
20export HISTSIZE=${HISTFILESIZE}
21export LESS="-R --tabs=4 -M -#10"
22export LESSCOLOR=0
23unset LDPATH # KDE bs
24
25shopt -s checkwinsize
26shopt -s no_empty_cmd_completion
27
28[ "${LS_COLORS:+set}" = "set" ] || eval "$(dircolors 2>/dev/null)"
29
30[ -r /usr/local/src/blackfin/bin/bfin-alias ] && . /usr/local/src/blackfin/bin/bfin-alias
31[ -r /usr/local/src/blackfin/git/toolchain/distribution/snapshots/bfin-alias ] && . /usr/local/src/blackfin/git/toolchain/distribution/snapshots/bfin-alias
32
33# This line was appended by KDE
34# Make sure our customised gtkrc file is loaded.
35export GTK2_RC_FILES="$HOME/.gtkrc-2.0:$HOME/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc"
36
37ulimit -c $(( 512 * 1024 )) # units of KiB
38# Chrome creates a shit ton of procs/threads now.
39ulimit -u $(( 1000 * $(getconf _NPROCESSORS_CONF 2>/dev/null || echo 1) )) 2>/dev/null