Convert globs to regexps for locate
Make jpm avaiable to bash