From 747fd6e60cdb30ca30d9af4257219d9f050da2e4 Mon Sep 17 00:00:00 2001 From: tzlil Date: Sat, 22 Jul 2023 20:04:43 +0300 Subject: make a nice cnf handler in fish --- mixins/cli.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'mixins') diff --git a/mixins/cli.nix b/mixins/cli.nix index c9a214f..8a37600 100644 --- a/mixins/cli.nix +++ b/mixins/cli.nix @@ -85,6 +85,7 @@ end nix shell $p ''; + fish_command_not_found = "nix shell nixpkgs#(command-not-found $argv[1] &| sed -nr 's/.*-p (.*)$/\\1/p' | ${lib.getExe pkgs.fzf}) -c $argv[1]"; }; }; neovim = { -- cgit 1.4.1