* 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.
Only invoke alias completion when the complete shell word is an alias name. Completion otherwise treats assignment values and quoted text as standalone alias names, corrupting inputs such as DEBUG=1.
Add a real ZLE regression test covering the reported assignments, quotes, escaped aliases, filtering, and existing expansion behavior.
Assisted-by: OpenAI Codex
The plugin runs `gpgconf --list-options gpg-agent` on every shell start
to learn whether `enable-ssh-support` is set. On macOS with GnuPG 2.5.24
that one command takes about 600 ms.
The `ssh-support` style lets the user state the answer instead. With
`no` the plugin sets `GPG_TTY` and stops. That also skips the preexec
hook, which runs `gpg-connect-agent updatestartuptty` before every
command and is only needed for ssh support. With `yes` the plugin sets
`SSH_AUTH_SOCK` without asking.
Left unset, the plugin detects as before, so existing setups do not
change.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Aliases always ran `php artisan`, so users of Laravel Herd (`herd php`)
or a versioned binary (`php8.4`) couldn't use them. The new
`zstyle ':omz:plugins:laravel' php` setting replaces `php` in every
alias; without it the aliases are unchanged.
The version pattern used the shortest match (#), so "Python 3.11.4"
was truncated to 3.1 and the ~/.local/lib/python3.11/site-packages
check never matched on python >= 3.10, leaving pyuserpaths a no-op.
Use a longest match (##) so the whole minor version is kept.
* fix(battery): remove unnecessary whitespace escapes in macOS battery parsing
Remove unnecessary `\ ` escapes in the macOS battery plugin's `grep` and `sed` expressions.
* fix(battery): replace \d with [0-9] for GNU grep compatibility