summary refs log tree commit diff
path: root/mixins
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-07-29 00:47:26 +0300
committertzlil <tzlils@protonmail.com>2023-07-29 00:47:26 +0300
commit489e84e149b4b1b470bd0c88aa8b18a3650db3f5 (patch)
tree3dd47fc1e99701dadb670a462c2f43c711d0f016 /mixins
parent747fd6e60cdb30ca30d9af4257219d9f050da2e4 (diff)
update lock
Diffstat (limited to 'mixins')
-rw-r--r--mixins/cli.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/mixins/cli.nix b/mixins/cli.nix
index 8a37600..d4815e4 100644
--- a/mixins/cli.nix
+++ b/mixins/cli.nix
@@ -85,7 +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]";
+	    fish_command_not_found = "nix shell nixpkgs#(command-not-found $argv[1] &| sed -nr 's/.*-p (.*)$/\\1/p' | ${lib.getExe pkgs.fzf} || return 0) -c $argv[1]";
           };
         };
         neovim = {