Marc Cornellà
49bae43f62
refactor(plugins): generate completion functions in the background
5 years ago
Marc Cornellà
c06197ad95
chore: fix comment bulk replace
5 years ago
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
5 years ago
Carlo Sala
89a740be2d
refactor(rust)!: merge `cargo` and `rustup` plugins into `rust` plugin ( #10270 )
...
BREAKING CHANGE: `cargo` and `rustup` plugins have been moved to the `rust` plugin
since they're part of the Rust toolchain. If you're using these, update your .zshrc
file to use `rust` instead.
Closes #10270
Co-authored-by: Marc Cornellà <hello@mcornella.com>
5 years ago
Marc Cornellà
5fbd4c83f6
refactor(cargo): generate completion file in the background
5 years ago
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.
5 years ago
Marc Cornellà
d2269180b0
fix(core): move plugin-generated completion files to `$ZSH_CACHE_DIR/completions`
...
Fixes #10183
5 years ago
Marc Cornellà
4e6e49652b
fix(plugins): fix `_comps` error in completion generation plugins ( #10190 )
...
Fixes #10190
5 years ago
Carlo Sala
450acc0113
fix: automatically create completion for `cargo` and `rustup` plugins ( #10087 )
5 years ago
Ben Goldberg
4e8ffe88d4
fix(cargo): complete flags for default cargo aliases ( #9692 )
...
By default, cargo provides alias for some commonly used functions. This patch
makes it that those alias will complete the same as their full commands.
Default alias:
b -> build
c -> check
t -> test
r -> run
Since cargo allows users to define custom alias it would be nice if
oh-my-zsh automatically detected those and preformed completions as such
but that would be a much more complex patch.
5 years ago
Lucas Larson
80d2e4336b
Grammar: remove hyphens from predicate adjective “up to date” ( #9356 )
...
https://english.stackexchange.com/a/180617
https://web.archive.org/web/20190728053012id_/grammarist.com/usage/up-to-date/#text-60
6 years ago
Marc Cornellà
05dfd0ae85
cargo: update completion to latest version (cdac4a8)
...
https://github.com/rust-lang/cargo/blob/cdac4a8/src/etc/_cargo
7 years ago
Marc Cornellà
61a7bc2d4a
Update README
7 years ago
Marc Cornellà
a441f64d09
Update _cargo completion to 0.34.0 version
7 years ago
Frederick Zhang
cf07fe2c6f
-r is not available for bsd sed
8 years ago
Frederick Zhang
1e161e839f
fix subcommands completion
8 years ago
Frederick Zhang
440d8ef344
fix escaping
8 years ago
Frederick Zhang
5d0b90a7ef
redir debug output to std
8 years ago
Frederick Zhang
5423f7fa2a
complete installed sub-commands
8 years ago
Frederick Zhang
b9533ccac2
complete --message-format
8 years ago
Frederick Zhang
da30a1d6d2
add description for --color
8 years ago
Frederick Zhang
d326cc5c41
target name completion
8 years ago
bjorn3
e8e7bf3b89
Update rust plugin for latest rustc ( #6342 )
...
* Update for latest rustc
* Some debug option updates
* Add some cargo flags
* Fix bug in cargo plugin
9 years ago
Marc Cornellà
16bd691b3b
Add README for the cargo plugin
10 years ago
Zaki Manian
915b0e46f2
Add completion for cargo, the rust build tool
...
Copy of the official repository:
https://github.com/rust-lang/cargo/tree/master/src/etc
Signed-off-by: Marc Cornellà <marc.cornella@live.com>
10 years ago
Henrik Johansson
0887a7eb50
Added simple support for Cargo -
...
the Rust build system
10 years ago