From 52268dd8f5b7130778e2063e17c3e257d1a5c6e8 Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Sun, 24 Dec 2023 11:57:20 -0800 Subject: [PATCH] Reformat gcloud item --- functions/_tide_item_gcloud.fish | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/functions/_tide_item_gcloud.fish b/functions/_tide_item_gcloud.fish index b2b07d5..609783a 100644 --- a/functions/_tide_item_gcloud.fish +++ b/functions/_tide_item_gcloud.fish @@ -1,8 +1,8 @@ function _tide_item_gcloud set -q CLOUDSDK_CONFIG || set -l CLOUDSDK_CONFIG ~/.config/gcloud - path is $CLOUDSDK_CONFIG/active_config \ - && read -l config <$CLOUDSDK_CONFIG/active_config \ - && path is $CLOUDSDK_CONFIG/configurations/config_$config \ - && string match -qr '^\s*project\s*=\s*(?.*)' <$CLOUDSDK_CONFIG/configurations/config_$config \ - && _tide_print_item gcloud $tide_gcloud_icon' ' $project + path is $CLOUDSDK_CONFIG/active_config && + read -l config <$CLOUDSDK_CONFIG/active_config && + path is $CLOUDSDK_CONFIG/configurations/config_$config && + string match -qr '^\s*project\s*=\s*(?.*)' <$CLOUDSDK_CONFIG/configurations/config_$config && + _tide_print_item gcloud $tide_gcloud_icon' ' $project end