title: Error message when starting terminal. [zsh]
body: <p>When I start my terminal I get this message:</p>
  
  <pre><code>/usr/lib/rbenv/libexec/../completions/rbenv.bash:16: command not found: complete
  ~ % 
  </code></pre>
  
  <p>Everything else seems normal. I don't get the message when I run tmux, only when I start a new terminal.</p>
  
  <p>Here's my ~/.zshrc file:</p>
  
  <pre><code># load custom executable functions
  for function in ~/.zsh/functions/*; do
    source $function
  done
  
  # extra files in ~/.zsh/configs/pre , ~/.zsh/configs , and ~/.zsh/configs/post
  # these are loaded first, second, and third, respectively.
  _load_settings() {
    _dir="$1"
    if [ -d "$_dir" ]; then
      if [ -d "$_dir/pre" ]; then
        for config in "$_dir"/pre/**/*(N-.); do
          . $config
        done
      fi
  
      for config in "$_dir"/**/*(N-.); do
        case "$config" in
          "$_dir"/pre/*)
            :
            ;;
          "$_dir"/post/*)
            :
            ;;
          *)
            if [ -f $config ]; then
              . $config
            fi
            ;;
        esac
      done
  
      if [ -d "$_dir/post" ]; then
        for config in "$_dir"/post/**/*(N-.); do
          . $config
        done
      fi
    fi
  }
  _load_settings "$HOME/.zsh/configs"
  
  # aliases
  [[ -f ~/.aliases ]] &amp;&amp; source ~/.aliases
  alias sz='source ~/.zshrc'
  
  # Local config
  [[ -f ~/.zshrc.local ]] &amp;&amp; source ~/.zshrc.local
  
  ### Added by the Heroku Toolbelt
  export PATH="/usr/local/heroku/bin:$PATH"
  
  # rbenv config
  eval "$(rbenv init -)"
  export PATH="$HOME/.rbenv/bin:$PATH"
  export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
  </code></pre>
  
  <p>What is causing this and how can I get rid of it? I can call up my version of Ruby successfully and I've run <code>rbenv init</code> and <code>rbenv rehash</code> already.</p>
  
  <pre><code>rbenv version
  2.3.0 (set by /home/drempel/.rbenv/version)
  
  ruby -v
  ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
  </code></pre>