* 'master' of github.com:fklassen/ohmyzsh: (38 commits)
fix(aws): restore accidentally deleted variable
feat(upgrade): add verbosity settings
fix(uninstall): abort uninstall if unable to change shell (#10357)
feat(juju): add functions to get current controller and model (#11572)
fix(aws): do not print region if it's not defined
feat(aws): set region when AWS_REGION is not set
feat(gnu-utils): add `gindent` (#11569)
fix(lib): set equivalent LS_COLORS and LSCOLORS variables
feat(rails): add `rta` alias (#11553)
docs(vi-mode): document how to add vi-mode info on the prompt (#11548)
Fixing link to PA website in README
feat(vi-mode): add settings for vi-mode cursor styles (#10860)
fix(init): set completion colors on theme load, not with `precmd`
feat(aws): add AWS_REGION to aws_prompt_info (#10062)
fix(aliases): group properly aliases (#11546)
fix(argocd): typo in filename
feat(argocd): add completion plugin
refactor(theme-and-appearance): reorganize and clean up logic (#11529)
fix(lib): use `$BROWSER` in `open_command` if set (#11532)
docs(brew): remove duplication (#11535)
...
Conflicts:
oh-my-zsh.sh
This fixes an edge case where the user actually sets
zstyle ':completion:*' list-colors
in their zshrc, but the previous code used a precmd hook, which would
override the user changes. With this change our modifications will be
set in the init script, after the theme loads, so that later changes
can affect our defaults.
Note that this will not be run for users on plugin managers, as these
don't generally run our init script.
If `$SHORT_HOST` contains invalid filename characters, the compinit call doesn't
error, but the zcompdump metadata write does. Use `tee` instead so we can silence
the error.
See dd1a72696f (commitcomment-38984764)
The statements for selecting a random theme in oh-my-zsh.sh and the themes
plugin are duplicate. Most people eventually settle on a theme, making those
lines in oh-my-zsh.sh superfluous. To address those, it may makes sense to put
the random theme functionality into a theme of its own (since themes are just
zsh scripts.
We have to assume that if people disabled the compfix system they really want
their completion to work, ignoring any permission issues.
Fixes#5651Fixes#5957Fixes#6461
Completion-dependent directories with insecure permissions or ownership (e.g.,
group or other writability) are now detected, reported, and sanitized on OMZ
startup rather than unsafely ignored -- which resulted in effectively empty
completion caches and obscure compdef() errors resembling
"compdef: unknown command or service: git".
This fixes long-standing issues #630, #3356, and #3455 and related Babun issues
159, 281, and 322 -- and probably numerous other duplicates.