1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00
Commit graph

9 commits

Author SHA1 Message Date
Carlo Sala
3f214329d6
chore: removing old completion code (#10616) 2022-03-28 13:38:49 +02:00
Marc Cornellà
d3bb52d7d8
style: declare globals properly
By default, `typeset` defines variables locally unless in the main scope.
This is specially bad when using `omz plugin load`, which happens inside
a function, so the declared variables don't continue being defined when
the function finishes and the main scope reappears.
2022-01-05 09:23:54 +01:00
Marc Cornellà
49bae43f62
refactor(plugins): generate completion functions in the background 2021-12-28 14:34:23 +01:00
Marc Cornellà
c06197ad95
chore: fix comment bulk replace 2021-12-28 14:34:09 +01:00
Curtis Rueden
2d32e9be66
refactor: handle $0 according to the Zsh plugin standard (#10518)
For details and rationale, see:
https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html

Closes #10518
2021-12-28 12:29:24 +01:00
Marc Cornellà
eb2eacaf0c
refactor(plugins): remove old generated completion files
This removes .gitignore plugin files and adds a force-rm of the old completion file,
which ignores any errors if the file doesn't exist.
2021-09-15 18:47:51 +02:00
Marc Cornellà
d2269180b0
fix(core): move plugin-generated completion files to $ZSH_CACHE_DIR/completions
Fixes #10183
2021-09-15 18:41:44 +02:00
Marc Cornellà
4e6e49652b
fix(plugins): fix _comps error in completion generation plugins (#10190)
Fixes #10190
2021-09-15 18:18:25 +02:00
Žiga Šebenik
d9ad99531f
feat(plugins): add fnm plugin (#9864)
Co-authored-by: Ziga Sebenik <ziga.sebenik@oryxgaming.com>
2021-07-23 12:39:51 +02:00