diff options
author | Case Duckworth | 2023-01-30 17:33:06 -0600 |
---|---|---|
committer | Case Duckworth | 2023-01-30 17:33:06 -0600 |
commit | 1d562af8927d932bc3329de3b06c94a966047238 (patch) | |
tree | acb2c460fbb8d01473f38f4de426c4879c7ae11a /profile/bc.sh | |
parent | Declare mode (diff) | |
download | etc-1d562af8927d932bc3329de3b06c94a966047238.tar.gz etc-1d562af8927d932bc3329de3b06c94a966047238.zip |
Add a bunch of stuff
Forgot I had to `git add -f' these!
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 | ||