Enable automatic .ssh/config cleanup.

master
Icedream 2022-06-17 12:29:10 +02:00
parent 80e5bb5a1f
commit 757dbc6ae3
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
1 changed files with 3 additions and 0 deletions

View File

@ -194,6 +194,9 @@ if [ $ZSH_GCLOUD_FIXES -gt 0 ]; then
gcloud() {
command gcloud "$@"
if _local_zshrc_ssh_config_needs_cleanup; then
_local_zshrc_clean_up_ssh_config
fi
}
if has_binary gke-gcloud-auth-plugin; then