diff options
Diffstat (limited to 'profile/bc.sh')
-rw-r--r-- | profile/bc.sh | 11 |
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 | |||
3 | BC_ENV_ARGS="-l -q" | ||
4 | |||
5 | BC_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/bc/init" | ||
6 | |||
7 | if [ -f "$BC_CONFIG" ]; then | ||
8 | BC_ENV_ARGS="$BC_ENV_ARGS $BC_CONFIG" | ||
9 | fi | ||
10 | |||
11 | export BC_ENV_ARGS | ||