mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
command-not-found support for OSX (homebrew)
This commit is contained in:
parent
3ea3384186
commit
858bb2d025
1 changed files with 6 additions and 0 deletions
|
|
@ -23,3 +23,9 @@ if [ -f /usr/libexec/pk-command-not-found ]; then
|
||||||
return $retval
|
return $retval
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# OSX (brew) command-not-found suport. You must install the brew package first:
|
||||||
|
# https://github.com/Homebrew/homebrew-command-not-found
|
||||||
|
if [[ -e /usr/local/bin/brew ]] && (brew command command-not-found-init > /dev/null); then
|
||||||
|
eval "$(brew command-not-found-init)"
|
||||||
|
fi
|
||||||
Loading…
Add table
Add a link
Reference in a new issue