Autocompletion defaults to the project's root before the element path
Summary
Say, I have an element name or directory that is within my project's root (in the same location as the project.conf file), as well as in my element path (typically an "elements" sub-directory), our autocompletion will default to the element or directory within the project's root.
Steps to reproduce
$ ls
base elements files project.conf
$ ls base/
uselessIncorrectFile
$ ls elements/base/
alpine.bst
$ bst show base/uselessIncorrectFile
[--:--:--][][] START Loading pipeline
[00:00:00][][] FAILURE Loading pipeline
Could not find element 'base/uselessIncorrectFile' in elements directory '/home/jamesennis/autotools/elements'
Note here that for bst show, I've used the autocompletion to complete both base/ and the file within base/ (uselessIncorrectFile)
I should also note here, that elements is specified in the element-path field of the project.conf.
What is the expected correct behavior?
The autocompletion should default to looking into the element-path directory, providing this is specified in the project.conf
In this example, the autocompletion should default to the elements/base/ directory.
Edited by James Ennis