From 757dbc6ae3fc65d052f3a6ec70f8a53e9ff0c5b1 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Fri, 17 Jun 2022 12:29:10 +0200 Subject: [PATCH] Enable automatic .ssh/config cleanup. --- home/dotfiles/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/dotfiles/zshrc b/home/dotfiles/zshrc index 50d4ebe..8bc2170 100644 --- a/home/dotfiles/zshrc +++ b/home/dotfiles/zshrc @@ -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