Skip to content

Commit

Permalink
Rename "Mac OS X" to "macOS" in comments
Browse files Browse the repository at this point in the history
This only changes references in text for human consumption. It leaves
out renaming paths because that can cause breaking changes.

Related issue sorin-ionescu#1449.
  • Loading branch information
ashishgandhi authored and mistaka0s committed Nov 6, 2018
1 parent 7a59b4a commit fb9ecbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/command-not-found/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ if [[ -s '/etc/zsh_command_not_found' ]]; then
elif [[ -s '/usr/share/doc/pkgfile/command-not-found.zsh' ]]; then
source '/usr/share/doc/pkgfile/command-not-found.zsh'
# Load command-not-found on macOS when homebrew tap is configured.
elif [[ -s '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-command-not-found/handler.sh' ]]; then
source '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-command-not-found/handler.sh'
elif (( $+commands[brew] )) && brew command command-not-found-init > /dev/null 2>&1; then
eval "$(brew command-not-found-init)"
# Return if requirements are not found.
else
return 1
Expand Down

0 comments on commit fb9ecbb

Please sign in to comment.