summary refs log tree commit diff
path: root/mixins/cli.nix
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-07-22 20:04:43 +0300
committertzlil <tzlils@protonmail.com>2023-07-22 20:04:43 +0300
commit747fd6e60cdb30ca30d9af4257219d9f050da2e4 (patch)
treea210ff1421233254f71d56e180a0352fcb436391 /mixins/cli.nix
parent13b630f31bf2bba22eb81531efae78cc334b76d3 (diff)
make a nice cnf handler in fish
Diffstat (limited to 'mixins/cli.nix')
-rw-r--r--mixins/cli.nix1
1 files changed, 1 insertions, 0 deletions
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 = {