From 1d562af8927d932bc3329de3b06c94a966047238 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 30 Jan 2023 17:33:06 -0600 Subject: Add a bunch of stuff Forgot I had to `git add -f' these! --- profile/bc.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 profile/bc.sh (limited to 'profile/bc.sh') 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 @@ +# GNU bc + +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 -- cgit 1.4.1-21-gabe81