about summary refs log tree commit diff stats
path: root/profile/bc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'profile/bc.sh')
-rw-r--r--profile/bc.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/profile/bc.sh b/profile/bc.sh new file mode 100644 index 0000000..f3b0f5e --- /dev/null +++ b/profile/bc.sh
@@ -0,0 +1,11 @@
1# GNU bc
2
3BC_ENV_ARGS="-l -q"
4
5BC_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/bc/init"
6
7if [ -f "$BC_CONFIG" ]; then
8 BC_ENV_ARGS="$BC_ENV_ARGS $BC_CONFIG"
9fi
10
11export BC_ENV_ARGS