Skip to content

Instantly share code, notes, and snippets.

@abiriadev
Last active February 23, 2022 02:53
Show Gist options
  • Save abiriadev/ee83ec20bcf715fecfa721abcdc9a60f to your computer and use it in GitHub Desktop.
Save abiriadev/ee83ec20bcf715fecfa721abcdc9a60f to your computer and use it in GitHub Desktop.
my cargo config file located at ~/.cargo/config.toml :)
[alias]
b = "build"
bl = "build"
br = "build --release"
blr = "build --release"
bb = "build --bin"
blb = "build --bin"
be = "build --example"
ble = "build --example"
bex = "build --example"
blex = "build --example"
c = "check"
ch = "check"
ck = "check"
cr = "check --release"
chr = "check --release"
ckr = "check --release"
cb = "check --bin"
chb = "check --bin"
ckn = "check --bin"
ce = "check --example"
che = "check --example"
cke = "check --example"
cex = "check --example"
chex = "check --example"
ckex = "check --example"
t = "test"
te = "test"
ts = "test"
tb = "test --bin"
teb = "test --bin"
tsb = "test --bin"
r = "run"
rn = "run"
rr = "run --release"
rnr = "run --release"
rb = "run --bin"
rnb = "run --bin"
re = "run --example"
rne = "run --example"
rex = "run --example"
rnex = "run --example"
rp = "run --package"
rnp = "run --package"
tr = "tree"
n = "new"
nl = "new --lib"
i = "install"
un = "uninstall"
w = "watch"
wx = "watch -x"
ad = "add"
lb = "lbuild"
lbl = "lbuild"
lbr = "lbuild --release"
lblr = "lbuild --release"
lbb = "lbuild --bin"
lblb = "lbuild --bin"
lbe = "lbuild --example"
lble = "lbuild --example"
lbex = "lbuild --example"
lblex = "lbuild --example"
lc = "lcheck"
lch = "lcheck"
lck = "lcheck"
lcr = "lcheck --release"
lchr = "lcheck --release"
lckr = "lcheck --release"
lcb = "lcheck --bin"
lchb = "lcheck --bin"
lckn = "lcheck --bin"
lce = "lcheck --example"
lche = "lcheck --example"
lcke = "lcheck --example"
lcex = "lcheck --example"
lchex = "lcheck --example"
lckex = "lcheck --example"
lt = "ltest"
lte = "ltest"
lts = "ltest"
ltb = "ltest --bin"
lteb = "ltest --bin"
ltsb = "ltest --bin"
lr = "lrun"
lrn = "lrun"
lrr = "lrun --release"
lrnr = "lrun --release"
lrb = "lrun --bin"
lrnb = "lrun --bin"
lre = "lrun --example"
lrne = "lrun --example"
lrex = "lrun --example"
lrnex = "lrun --example"
lrp = "lrun --package"
lrnp = "lrun --package"
wlr = "watch -x lrun"
wlrb = "watch -x \"lrun --bin\""
wlc = "watch -x lcheck"
wlcb = "watch -x \"lcheck --bin\""
[doc]
browser = "google-chrome"
[expand]
theme = "TwoDark"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment