title: Get autocompletion when invoking a "read" inside a Bash script
body: <p>Inside my Bash script, I'm reading some variables entered by the user with <code>read</code>:</p>
  
  <pre><code>read -p "Glassfish Path:" GF_DIR
  </code></pre>
  
  <p>Now I want that the user gets a autocompletion when he has to enter a directory, like when you are on the Bash shell. So when he enters the first letters of a directory, he can autocomplete it by hitting TAB.
  Is that possible?</p>