Commit Graph

14 Commits

Author SHA1 Message Date
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à 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
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