title: Configuring bash $PATH variable to find UNIX executable file
body: <p>I have a custom command called git-feature, which is located in a Unix executable file with the same name. I'm trying to configure the $PATH variable in <code>~/.bash_profile</code> so that it recognizes the Unix file. I updated the PATH variable to include the file's path:</p>
  
  <pre><code>export PATH=$PATH:~/Applications/MAMP/htdocs/code/git-shortcuts/
  </code></pre>
  
  <p>The <code>echo $PATH</code> command in my bash terminal produces the following result: </p>
  
  <pre><code>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/myname/Applications/MAMP/htdocs/code/git-shortcuts/
  </code></pre>
  
  <p>But trying to call <code>git-feature</code> leads to the following error: </p>
  
  <pre><code>-bash: git-feature: command not found
  </code></pre>
  
  <p>There are a few similar questions on S.O., but none of the ones I found solved this specific type of issue. <strong>Do I need to change the PATH variable differently in order for my custom command to be recognized by bash?</strong> </p>