Changed to compgen -ac and fixed (removed first 9 lines) .[(]] signs)]