profiles/dev: add fzf configuration

This commit is contained in:
Gabriel Arazas 2023-06-23 17:12:10 +08:00
parent dc01a2d2f1
commit 3dfb75a9d4
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -16,7 +16,6 @@ in {
({
home.packages = with pkgs; [
dasel # Universal version of jq.
fzf # A fuzzy finder that enables fuzzy finding not furry finding, a common misconception.
gopass # An improved version of the password manager for hipsters.
lazygit # Git interface for the lazy who cannot be asked to add hunks properly.
lf # File manager in the terminal, really.
@ -31,6 +30,16 @@ in {
exa # Oh nice, a shinier `ls`.
];
# A fuzzy finder that enables fuzzy finding not furry finding, a common misconception.
programs.fzf = let
fd = "${lib.getBin pkgs.fd}/bin/fd";
in {
enable = true;
changeDirWidgetCommand = "${fd} --type d";
defaultCommand = "${fd} --type f";
};
# dog > sky dog > cat.
programs.bat = {
enable = true;