updated bash_completion to new version, added src functions for paths