Add subcommand completion to history