add bc calculator

This commit is contained in:
Cyryl Płotnicki 2023-02-03 22:43:32 +00:00
parent 833e03da6a
commit 8212c6050e
2 changed files with 5 additions and 7 deletions

View file

@ -12,6 +12,7 @@
android-tools android-tools
appimage-run appimage-run
aria aria
bc
bfg-repo-cleaner bfg-repo-cleaner
binutils binutils
bitwarden-cli bitwarden-cli

View file

@ -1,8 +1,4 @@
{ { config, pkgs, ... }: {
config,
pkgs,
...
}: {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
history = { history = {
@ -63,6 +59,7 @@
tmate = "tmux detach-client -E 'tmate;tmux'"; tmate = "tmux detach-client -E 'tmate;tmux'";
cat = "bat -p"; cat = "bat -p";
rg = "rga"; rg = "rga";
bc = ''BC_ENV_ARGS=<(echo "scale=2") \bc'';
}; };
}; };