about summary refs log tree commit diff stats
path: root/profile/bc.sh
blob: c17f560afdbda8049f9513d5c9b32ac2958bc123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# GNU bc

execp bc || return

BC_ENV_ARGS="-l -q"

BC_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/bc/init"

if [ -f "$BC_CONFIG" ]; then
	BC_ENV_ARGS="$BC_ENV_ARGS $BC_CONFIG"
fi

export BC_ENV_ARGS