I am currently working on a script that tails a log file.
I use read -e -p "somesomething.." DIR_PATH
when I hit tab it start listing from the directory the script is executing. I want to specify the starting point of autocomplete to /opt/ and not the script directory. The script will be used by mulitiple users and some are notorious, and known for their ways. Alternatively if they is a ways of excluding certain directory from being listed during autocomplete will be a bonus.