From 01319743782be07130b50e00ee3b919121f42680 Mon Sep 17 00:00:00 2001
From: Fabian Homborg <FHomborg@gmail.com>
Date: Sat, 5 Sep 2020 08:41:11 +0200
Subject: [PATCH] Use OpenSUSE command-not-found via $PATH

We check the full $PATH, so it's not guaranteed that it is in /usr/bin.
---
 share/functions/fish_command_not_found.fish | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/functions/fish_command_not_found.fish b/share/functions/fish_command_not_found.fish
index 8e878695c..041a87fcd 100644
--- a/share/functions/fish_command_not_found.fish
+++ b/share/functions/fish_command_not_found.fish
@@ -23,7 +23,7 @@ if functions -q __fish_command_not_found_handler
     # but the same name and path as Ubuntu's.
 else if contains -- suse $os || contains -- sles $os && type -q command-not-found
     function fish_command_not_found
-        /usr/bin/command-not-found $argv[1]
+        command-not-found $argv[1]
     end
     # Check for Fedora's handler
 else if test -f /usr/libexec/pk-command-not-found