Remove obsolete --skip-update from command-not-found handlers

This commit is contained in:
rexmhall09
2026-05-19 08:42:13 +01:00
committed by Mike McQuaid
parent a7f3847d5f
commit 2eefca87ad
2 changed files with 2 additions and 2 deletions
@@ -7,7 +7,7 @@ function fish_command_not_found
set -l txt
if not contains -- "$cmd" "-h" "--help" "--usage" "-?"
set txt (brew which-formula --skip-update --explain $cmd 2> /dev/null)
set txt (brew which-formula --explain $cmd 2> /dev/null)
end
if test -z "$txt"
@@ -37,7 +37,7 @@ homebrew_command_not_found_handle() {
if [[ "${cmd}" != "-h" ]] && [[ "${cmd}" != "--help" ]] && [[ "${cmd}" != "--usage" ]] && [[ "${cmd}" != "-?" ]]
then
local txt
txt="$(brew which-formula --skip-update --explain "${cmd}" 2>/dev/null)"
txt="$(brew which-formula --explain "${cmd}" 2>/dev/null)"
fi
if [[ -z "${txt}" ]]