Adds some programs

This commit is contained in:
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"; l = "bat";
m = "micro"; m = "micro";
du = "dua interactive"; du = "dua interactive";
br = "broot";
}; };
home.sessionVariables = { EDITOR = "micro"; }; home.sessionVariables = { EDITOR = "micro"; };
} }

View File

@ -7,9 +7,10 @@
broot broot
cloc cloc
cloudflare-dyndns cloudflare-dyndns
comma
config.nix.package config.nix.package
coreutils coreutils
delta ddgr
dua dua
entr entr
fd fd
@ -18,12 +19,15 @@
haskellPackages.cabal-plan haskellPackages.cabal-plan
haskellPackages.graphmod haskellPackages.graphmod
httpie httpie
mosh jetbrains.idea-community
micro micro
niv niv
nixfmt nixfmt
nix-diff
ranger
shellcheck
statix statix
tree tealdeer
# fonts # fonts
fira-mono 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 = '' interactiveShellInit = ''
fzf_configure_bindings --git_status=\cs --history=\cr --variables=\cv --directory=\cf --git_log=\cg fzf_configure_bindings --git_status=\cs --history=\cr --variables=\cv --directory=\cf --git_log=\cg
''; '';