summaryrefslogtreecommitdiff
path: root/modules/basic-tools/fzf.nix
blob: 5e0ce0e822408d5275e105baf89d62b97bcdfca1 (plain)
1
2
3
4
5
6
7
8
9
10
{ lib, config, ... }: {
  # integrate fzf into shell, >23.05 only
  programs =
    if (lib.toInt (lib.elemAt (lib.splitVersion config.system.nixos.release) 0) >= 23) then {
      fzf = {
        keybindings = true;
        fuzzyCompletion = true;
      };
    } else { };
}