1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 01:40:09 +00:00
Commit graph

10 commits

Author SHA1 Message Date
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
Carlo Sala
44c6a71243
feat(deno): adding drA alias for --allow-all (#10501) 2021-12-17 15:40:57 -08: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
Carlo Sala
63a7422d8d
fix(deno): actually load deno completion (#9863) 2021-04-26 11:54:53 +02:00
Carlo Sala
6cc12e031e
feat(plugins): add plugin for deno (#9847)
Co-authored-by: Kapil Pau <kapilpau@hotmail.com>
Co-authored-by: CallMeLaNN <CallMeLaNN@users.noreply.github.com>
2021-04-25 19:14:05 +02:00