diff options
| author | Thomas <thomas@wache.fr> | 2025-01-10 14:17:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-10 14:17:49 +0100 |
| commit | cae2e451933ffe1108bfd00fa67ff5d63741ab85 (patch) | |
| tree | 9df7ccb7cb72dd75c6ab5b330455b855cc87cd0e /plugins | |
| parent | 276e540eed9c47d11539dfcd056cd9d162e1c732 (diff) | |
| download | zsh-cae2e451933ffe1108bfd00fa67ff5d63741ab85.tar.gz zsh-cae2e451933ffe1108bfd00fa67ff5d63741ab85.tar.bz2 zsh-cae2e451933ffe1108bfd00fa67ff5d63741ab85.zip | |
fix(rust): call `rustc` through `rustup run` (#12901)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/rust/rust.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rust/rust.plugin.zsh b/plugins/rust/rust.plugin.zsh index 858f14126..567cebc64 100644 --- a/plugins/rust/rust.plugin.zsh +++ b/plugins/rust/rust.plugin.zsh @@ -22,5 +22,5 @@ fi rustup completions zsh >| "$ZSH_CACHE_DIR/completions/_rustup" &| cat >| "$ZSH_CACHE_DIR/completions/_cargo" <<'EOF' #compdef cargo -source "$(rustc +${${(z)$(rustup default)}[1]} --print sysroot)"/share/zsh/site-functions/_cargo +source "$(rustup run ${${(z)$(rustup default)}[1]} rustc --print sysroot)"/share/zsh/site-functions/_cargo EOF |
