Adds some programs

nix-darwin
Abhinav Sarkar 2022-09-27 17:58:53 +05:30
parent 71b55fbeaf
commit 8f032efc26
3 changed files with 15 additions and 4 deletions

View File

@ -14,8 +14,8 @@
l = "bat";
m = "micro";
du = "dua interactive";
br = "broot";
};
home.sessionVariables = { EDITOR = "micro"; };
}

View File

@ -7,9 +7,10 @@
broot
cloc
cloudflare-dyndns
comma
config.nix.package
coreutils
delta
ddgr
dua
entr
fd
@ -18,12 +19,15 @@
haskellPackages.cabal-plan
haskellPackages.graphmod
httpie
mosh
jetbrains.idea-community
micro
niv
nixfmt
nix-diff
ranger
shellcheck
statix
tree
tealdeer
# fonts
fira-mono

View File

@ -33,6 +33,13 @@
};
}
];
functions = {
where = "readlink -f (which $argv)";
ghe =
"set -l dir (mktemp -d); git clone --depth 1 https://github.com/$argv $dir; cd $dir; ranger;";
};
interactiveShellInit = ''
fzf_configure_bindings --git_status=\cs --history=\cr --variables=\cv --directory=\cf --git_log=\cg
'';