From 2925d49c8ec38426121356274016a561d4d656a2 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Sat, 4 Nov 2023 09:45:43 +0530 Subject: [PATCH] fish: conf.d: Update Rust abbreviations `--all` is deprecated and is just an alias to `--workspace`. Add an abbreviation to exclude building of packages. --- fish/.config/fish/conf.d/rust-abbr.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fish/.config/fish/conf.d/rust-abbr.fish b/fish/.config/fish/conf.d/rust-abbr.fish index 5c90163..56b9933 100644 --- a/fish/.config/fish/conf.d/rust-abbr.fish +++ b/fish/.config/fish/conf.d/rust-abbr.fish @@ -1,10 +1,11 @@ abbr radd 'cargo add' -abbr rbuild 'cargo build --all' +abbr rbuild 'cargo build --workspace' abbr rclean 'cargo clean' abbr rcache 'cargo-cache' abbr rdel 'cargo rm' abbr rdoc 'cargo doc' abbr rdoco 'cargo doc --open' +abbr rexclude 'cargo build --workspace --exclude' abbr rout 'cargo outdated' abbr rudeps 'cargo udeps' abbr rupdate 'cargo update'