The counterpart to `gapa` (`git add --patch`): unstage hunks interactively.
Originally proposed in #11295.
Co-authored-by: Carl Nimhed <carl.nimhed@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move invoke, istioctl, kn, kompose, kops, oc, operator-sdk, please and
svcat off sourcing `<($cmd completion ...)` on every startup. The
completion script is now cached under $ZSH_CACHE_DIR/completions and
regenerated in the background, following the pattern used by the helm
plugin.
Writes go through a temp file (prefixed with a dot to keep it out of
$fpath) that is moved into place atomically with `zf_mv`, so a
half-written file is never sourced.
* perf(aws): read profiles from config files before falling back to the CLI
`aws configure list-profiles` takes ~0.5s to start, and `asp`/`acp` tab
completion runs it every time. Read ~/.aws/config and ~/.aws/credentials
directly instead, and only call the CLI if neither file is readable.
* perf(aws): read the profile region from the config file in asp
`asp` ran `aws configure get region` on every switch, which takes ~0.5s,
and the saved-state restore ran it in every new shell. Read the region
from ~/.aws/config directly, and only call the CLI when the profile has
no region there.
- eval `zsh-patina activate` when installed, else print install URL
- ZSH_PATINA_BINARY overrides the binary path, eg: ~/.cargo/bin
- skip with a warning when zsh-syntax-highlighting is enabled
- modeled on the zoxide plugin
`push_future` referenced `$dirhistory_futuret` (missing the 'e' - a
typo) in its duplicate check, so `$dirhistory_futuret[...]` was an
undefined variable and consecutive identical entries were never skipped.
ALT-RIGHT navigation then revisited the same directory repeatedly.
Match `push_past`, which uses `$dirhistory_past` correctly.
Co-authored-by: Morningstar202604 <morningstar202604@users.noreply.github.com>
The link to the 1Password Environments docs used the old singular
`/docs/environment/` path which now returns 404. 1Password moved the
page to the plural `/docs/environments/` path. Updates the single link
in the dotenv plugin README so readers reach the current docs.
* fix(jsontools): print JSON, not YAML, in `pp_json` with the ruby method
The ruby implementation of `pp_json` converted the parsed input to YAML
(`to_yaml`), while the node and python3 implementations, and the README,
pretty-print JSON. Use `JSON.pretty_generate` with the same 4-space
indent as the other methods.
* test(jsontools): cover the ruby method
FreeBSD installs zsh completion def into `/usr/local/google-cloud-sdk/completion.zsh.inc`. This commit adds `/usr/local/google-cloud-sdk` to `search_locations` so the gcloud plugin can discover this file.