title: Adding directory to the path in .zshrc
body: <p>I have been on this issue for a couple days now. I use <code>zsh</code> and need to set a directory path so that the command i use will be recognized. Following these steps so far:</p>
  
  <pre><code>cd ~
  
  ls -al
  </code></pre>
  
  <p><code>ls -al</code> shows me these files:</p>
  
  <pre><code>.oh-my-zsh
  .profile
  .putty
  .rediscli_history
  .ringo-history
  .ssh
  .subversion
  .viminfo
  .zcompdump
  .zsh-update
  .zsh_history
  .zshrc
  </code></pre>
  
  <p>I assume i need to add the path to <code>.zshrc</code>, so:</p>
  
  <pre><code>open -e .zshrc
  </code></pre>
  
  <p>At the end of the file, i added the path of the command i will be using to set my project (with ringojs):</p>
  
  <pre><code>export PATH=Users/repos/ringojs/bin/:$PATH
  </code></pre>
  
  <p>Close the file, restart the terminal application, restart the computer, however the command (<code>ringo-admin</code>) located under the path above (<code>/Users/repos/ringojs/bin</code>) is not found:</p>
  
  <pre><code>ringo-admin create --google-appengine MyAppName
  zsh: command not found: ringo-admin
  </code></pre>
  
  <p>Please help me with that, if it will of some help, here is my <code>.zshrc</code> file content:</p>
  
  <pre><code># Path to your oh-my-zsh configuration.
  ZSH=$HOME/.oh-my-zsh
  
  # Set name of the theme to load.
  # Look in ~/.oh-my-zsh/themes/
  # Optionally, if you set this to "random", it'll load a random theme each
  # time that oh-my-zsh is loaded.
  ZSH_THEME="robbyrussell"
  
  # Example aliases
  # alias zshconfig="mate ~/.zshrc"
  # alias ohmyzsh="mate ~/.oh-my-zsh"
  
  # Set to this to use case-sensitive completion
  # CASE_SENSITIVE="true"
  
  # Comment this out to disable bi-weekly auto-update checks
  # DISABLE_AUTO_UPDATE="true"
  
  # Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
  # export UPDATE_ZSH_DAYS=13
  
  # Uncomment following line if you want to disable colors in ls
  # DISABLE_LS_COLORS="true"
  
  # Uncomment following line if you want to disable autosetting terminal title.
  # DISABLE_AUTO_TITLE="true"
  
  # Uncomment following line if you want red dots to be displayed while waiting for completion
  # COMPLETION_WAITING_DOTS="true"
  
  # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  # Example format: plugins=(rails git textmate ruby lighthouse)
  plugins=(git)
  
  source $ZSH/oh-my-zsh.sh
  
  # Customize to your needs...
  export PATH=Users/repos/ringojs/bin/ringo-admin:$PATH
  </code></pre>
  
  <p>Please guide me step by step, as i am new to <code>zsh</code>. Thanx.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>echo $PATH display me the recently added directory:</p>
  
  <pre><code>/Users/repos/ringojs/bin/ringo-admin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin
  </code></pre>
  
  <p>I don't understand why the command is always not found.</p>