0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00
ohmyzsh/lib
Marc Cornellà d342b353e3
fix(init): set completion colors on theme load, not with precmd
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.
2023-03-07 18:54:06 +01:00
..
bzr.zsh Modification to the frisk theme to work with the BZR lib 2013-11-06 20:10:59 -02:00
cli.zsh fix(cli): avoid using column (#11271) 2022-10-18 19:38:47 +02:00
clipboard.zsh fix(clipboard): move wsl detection to higher priority (#11440) 2023-01-15 17:11:29 +01:00
compfix.zsh compfix: fix check for empty string (#7674) 2019-03-21 20:35:00 +01:00
completion.zsh fix(lib): fix case-insensitive completion for zsh 5.9 (#11526) 2023-02-26 20:37:03 +01:00
correction.zsh fix(correction)!: remove aliases for non standard commands 2023-02-15 09:23:04 +01:00
diagnostics.zsh style: use -n flag in head and tail commands (#10391) 2021-11-09 09:04:10 +01:00
directories.zsh refactor: reorganize setopts in lib folder 2023-02-24 20:55:31 +01:00
functions.zsh fix(lib): use $BROWSER in open_command if set (#11532) 2023-03-03 12:34:31 +01:00
git.zsh feat(git): display tag in git-prompt when possible (#11318) 2022-11-08 09:34:13 +01:00
grep.zsh chore(lib): update deprecated grep aliases (#11161) 2022-10-03 17:59:49 +02:00
history.zsh Revert "lib: remove share_history" 2020-11-09 12:00:15 +01:00
key-bindings.zsh lib: remove CTRL-Backspace key binding altogether 2020-08-06 08:55:29 +02:00
misc.zsh refactor: reorganize setopts in lib folder 2023-02-24 20:55:31 +01:00
nvm.zsh fix(lib): quote % in nvm_prompt_info 2022-01-03 13:50:50 +01:00
prompt_info_functions.zsh feat(azure): add azure plugin (#8848) 2023-02-07 12:33:59 +01:00
spectrum.zsh fix(lib): fix potential command injection in title and spectrum functions 2021-11-11 22:45:11 +01:00
termsupport.zsh Revert "fix(lib): send carriage return after title to fix #11314 (#11315)" 2023-01-12 08:29:00 +01:00
theme-and-appearance.zsh fix(init): set completion colors on theme load, not with precmd 2023-03-07 18:54:06 +01:00
vcs_info.zsh fix(lib): fix return code after expected non-zero exit code (#11524) 2023-02-24 17:27:23 +01:00