title: On my mac. whereis command failed return application path
body: <p>All</p>
  
  <ol>
  <li>my shell is oh-my-zsh.</li>
  <li>“whereis” doesn't work, there is not any response while I'v executed the command. </li>
  <li>“which” works normally.</li>
  </ol>
  
  <blockquote>
    <p>Here are some details </p>
  </blockquote>
  
  <pre><code>~ ⌚ 3:26:26
  $ echo $PATH      ‹ruby-2.2.4›
  /Users/luoweiguang/.rvm/gems/ruby-2.2.4/bin:/Users/luoweiguang/.rvm/gems/ruby-2.2.4@global/bin:/Users/luoweiguang/.rvm/rubies/ruby-2.2.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/Users/luoweiguang/.rvm/bin
  
  ~ ⌚ 3:26:28
  $ which man      ‹ruby-2.2.4›
  /usr/bin/man
  
  ~ ⌚ 3:26:36
  $ whereis Notes      ‹ruby-2.2.4›
  
  ~ ⌚ 3:26:49
  $ whereis XCode      ‹ruby-2.2.4›
  
  ~ ⌚ 3:41:35
  $
  </code></pre>
  
  <p><em>I spent much time on the problem for these days. and I didn't find a way to fix it, Hope you guys can help me. Thanks</em></p>