export def configurations []: [ nothing -> table> ] { gcloud config configurations list | detect columns | rename name active account project zone region | each { update active { $in == True } } } # get the current project as defined gcloud export def "current project" []: nothing -> string { gcloud config list --format="value(core.project)" }