add bc calculator
This commit is contained in:
parent
833e03da6a
commit
8212c6050e
2 changed files with 5 additions and 7 deletions
|
@ -12,6 +12,7 @@
|
|||
android-tools
|
||||
appimage-run
|
||||
aria
|
||||
bc
|
||||
bfg-repo-cleaner
|
||||
binutils
|
||||
bitwarden-cli
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{ config, pkgs, ... }: {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
history = {
|
||||
|
@ -18,7 +14,7 @@
|
|||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = ["vi-mode" "git" "python" "history-substring-search" "tmux"];
|
||||
plugins = [ "vi-mode" "git" "python" "history-substring-search" "tmux" ];
|
||||
};
|
||||
|
||||
initExtra = ''
|
||||
|
@ -63,13 +59,14 @@
|
|||
tmate = "tmux detach-client -E 'tmate;tmux'";
|
||||
cat = "bat -p";
|
||||
rg = "rga";
|
||||
bc = ''BC_ENV_ARGS=<(echo "scale=2") \bc'';
|
||||
};
|
||||
};
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv = {enable = true;};
|
||||
nix-direnv = { enable = true; };
|
||||
};
|
||||
|
||||
home.file.".config/starship.toml".text = ''
|
||||
|
|
Loading…
Reference in a new issue