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
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>
2021-12-28 12:05:04 +01:00
Marc Cornellà
5fbd4c83f6
refactor(cargo): generate completion file in the background
2021-12-28 11:42:58 +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
Carlo Sala
450acc0113
fix: automatically create completion for cargo
and rustup
plugins ( #10087 )
2021-09-07 20:02:20 +02:00
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.
2021-05-03 16:59:45 +02:00
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
2020-10-21 16:22:32 +02:00
Marc Cornellà
05dfd0ae85
cargo: update completion to latest version (cdac4a8)
...
https://github.com/rust-lang/cargo/blob/cdac4a8/src/etc/_cargo
2019-10-19 17:51:28 +02:00
Marc Cornellà
8fba503667
cargo: update completion ( #5757 )
2019-03-25 22:43:19 +01:00
Marc Cornellà
61a7bc2d4a
Update README
2019-03-25 22:42:38 +01:00
Marc Cornellà
a441f64d09
Update _cargo completion to 0.34.0 version
2019-03-25 22:40:50 +01:00
Frederick Zhang
cf07fe2c6f
-r is not available for bsd sed
2018-11-28 14:50:45 +11:00
Frederick Zhang
1e161e839f
fix subcommands completion
2018-09-24 18:02:50 +10:00
Frederick Zhang
440d8ef344
fix escaping
2018-09-24 18:02:50 +10:00
Frederick Zhang
5d0b90a7ef
redir debug output to std
2018-09-24 18:02:50 +10:00
Frederick Zhang
5423f7fa2a
complete installed sub-commands
2018-09-24 18:02:50 +10:00
Frederick Zhang
b9533ccac2
complete --message-format
2018-09-24 18:02:50 +10:00
Frederick Zhang
da30a1d6d2
add description for --color
2018-09-24 18:02:50 +10:00
Frederick Zhang
d326cc5c41
target name completion
2018-09-24 18:02:50 +10:00
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
2017-11-01 06:04:03 -07:00
Marc Cornellà
16bd691b3b
Add README for the cargo plugin
2016-10-04 00:17:38 +02:00
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>
2016-10-04 00:15:46 +02:00
Henrik Johansson
0887a7eb50
Added simple support for Cargo -
...
the Rust build system
2016-10-03 19:09:59 +02:00