Compare commits

...

3 Commits

Author SHA1 Message Date
Josh Frankel 47144fb86a
Merge 675c6fb06e into 7ff836131a 2026-03-11 10:05:41 -03:00
Kevin Ji 7ff836131a
fix(gcloud): prevent gcloud CLI from hanging (#2935)
If the `gcloud` command is interactive (e.g. asks to install a component, or needs an update), the current code will hang forever, and is uninterruptible as `INT` is being swallowed.

Fix this with `</dev/null` and `--quiet`.
2026-03-11 09:09:44 +08:00
Josh Frankel 675c6fb06e
Update README.md
Add font installation instructions for ddterm, a Gnome Extension for an integrated Wayland dropdown terminal
2025-03-05 15:19:13 -05:00
2 changed files with 5 additions and 1 deletions

View File

@ -793,6 +793,8 @@ If you are using a different terminal, proceed with manual font installation.
```text
font-family = "MesloLGS NF"
```
- **ddterm** (Gnome Extension): Right click on open terminal and hover on *Preferences*. Select *Preferences...*
in submenu. Click *Text* tab and set the custom font to `MesloLGS NF Regular`.
1. Run `p10k configure` to generate a new `~/.p10k.zsh`. The old config may work
incorrectly with the new font.

View File

@ -4716,7 +4716,9 @@ _p9k_gcloud_prefetch() {
if ! _p9k_cache_stat_get $0 ${CLOUDSDK_CONFIG:-~/.config/gcloud}/configurations/config_$P9K_GCLOUD_CONFIGURATION; then
local pair account project_id
pair="$(gcloud config configurations describe $P9K_GCLOUD_CONFIGURATION \
--format=$'value[separator="\1"](properties.core.account,properties.core.project)')"
--quiet \
--format=$'value[separator="\1"](properties.core.account,properties.core.project)' \
</dev/null)"
(( ! $? )) && IFS=$'\1' read account project_id <<<$pair
_p9k_cache_stat_set "$account" "$project_id"
fi