Major refactoring of the Bash completion script