chroot_version_hooks.d: Cleanup .bash_profile for argcomplete

Remove the command added to .bash_profile and also remove
`python-argcomplete.sh` from chromite/sdk/etc/bash_completion.d/.

BUG=None
TEST=./update_chroot and verified

Cq-Depend: chromium:3282448
Change-Id: Ie5e9f19af9080b441c859e24ebe14369d4e356dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/3284165
Reviewed-by: Alex Klein <saklein@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Cindy Lin <xcl@google.com>
Tested-by: Cindy Lin <xcl@google.com>
diff --git a/chroot_version_hooks.d/194_argcomplete_cleanup b/chroot_version_hooks.d/194_argcomplete_cleanup
new file mode 100644
index 0000000..d641f5c
--- /dev/null
+++ b/chroot_version_hooks.d/194_argcomplete_cleanup
@@ -0,0 +1,12 @@
+# Copyright 2021 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Remove file generated by the activate-global-python-argcomplete command.
+sudo rm -f \
+  /mnt/host/source/chromite/sdk/etc/bash_completion.d/python-argcomplete.sh
+
+# Cleanup command from .bash_profile.
+sed -i \
+  -e '/^activate-global-python-argcomplete/d' \
+  /home/*/.bash_profile 2>/dev/null || :