mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Add OSX support for command-not-found
This commit is contained in:
parent
e44aa50301
commit
f6557932e9
1 changed files with 8 additions and 0 deletions
|
@ -23,3 +23,11 @@ if [ -f /usr/libexec/pk-command-not-found ]; then
|
||||||
return $retval
|
return $retval
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# OSX command-not-found support
|
||||||
|
# https://github.com/Homebrew/homebrew-command-not-found
|
||||||
|
if type brew &> /dev/null; then
|
||||||
|
if brew command command-not-found-init > /dev/null 2>&1; then
|
||||||
|
eval "$(brew command-not-found-init)";
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue