--- ./etc/bash_completion.d/dnf-3_orig	2024-12-20 06:17:10.737321900 -0600
+++ ./etc/bash_completion.d/dnf-3	2024-12-20 06:20:00.274926721 -0600
@@ -124,13 +124,13 @@
 __dnf_python_exec=
 _dnf_set_python_exec()
 {
-    if [[ "$( readlink /usr/bin/dnf )" == "dnf-2" ]]; then
+    if [[ "$( readlink /opt/freeware/bin/dnf )" == "dnf-2" ]]; then
         __dnf_python_exec="/usr/bin/python2"
     else
         if [ -x /usr/libexec/platform-python ]; then
             __dnf_python_exec="/usr/libexec/platform-python"
         else
-            __dnf_python_exec="/usr/bin/python3"
+            __dnf_python_exec="/opt/freeware/bin/python3"
         fi
     fi
 }
@@ -163,7 +163,7 @@
     shift
 
     if ! _dnf_is_path "$cur"; then
-        if [ -r "$__dnf_cache_file" ] && [ -x /usr/bin/sqlite3 ]; then
+        if [ -r "$__dnf_cache_file" ] && [ -x /opt/freeware/bin/sqlite3 ]; then
             case "$cmd$*" in
             listinstalled|listupdates|\
             dg|downgrade|\
@@ -434,9 +434,9 @@
 }
 
 complete_cmds="dnf-2 dnf-3 dnf4"
-dnf_target=$(readlink -f "/usr/bin/dnf")
+dnf_target=$(readlink -f "/opt/freeware/bin/dnf")
 
-if [ "$dnf_target" = "/usr/bin/dnf-3" ]; then
+if [ "$dnf_target" = "/opt/freeware/bin/dnf-3" ]; then
     complete_cmds+=" dnf"
 fi
 
