项目作者: pbzweihander

项目描述 :
List of useful aliases for rust-cargo commands.
高级语言: Shell
项目地址: git://github.com/pbzweihander/truck.git
创建时间: 2018-09-27T11:54:12Z
项目社区:https://github.com/pbzweihander/truck

开源协议:MIT License

下载


truck

license

Move cargo faster with truck!

truck, list of useful cargo command aliases for bash and zsh.

  1. c = cargo
  2. ci = cargo init
  3. cn = cargo new
  4. cc = cargo check
  5. cb = cargo build
  6. ct = cargo test
  7. cr = cargo run
  8. cu = cargo update
  9. cpb = cargo publish
  10. cclr = cargo clean
  11. ...

truck also includes aliases for
rust-clippy,
cargo-edit,
cargo-update.

Installation

Bash

  1. git clone https://github.com/pbzweihander/truck.git --depth=1 ~/.truck &&\
  2. echo 'source ~/.truck/abbreviation.sh' >> ~/.bashrc

Zsh with zplug

  1. zplug "pbzweihander/truck"

Contribution

If you have any commands to be shortened or better abbreviation, feel free to open PR!