From 3e3d0f09284d6d7f23f647f81ffe04fbbd1dda0c Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 20 Sep 2023 06:04:49 +0100 Subject: [PATCH 1/2] Adds some cargo aliases --- config/zsh/aliases/rust.zsh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 config/zsh/aliases/rust.zsh diff --git a/config/zsh/aliases/rust.zsh b/config/zsh/aliases/rust.zsh new file mode 100644 index 0000000..80c4c97 --- /dev/null +++ b/config/zsh/aliases/rust.zsh @@ -0,0 +1,6 @@ + +alias cr='cargo run' +alias cb='cargo build' +alias ct='cargo test' +alias cc='cargo clean' +alias cu='cargo update' From d763e70b4f0aaaa2416a3a6d1dbca2126d3cd761 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 21 Sep 2023 10:05:35 +0100 Subject: [PATCH 2/2] Import alias files for Rust --- config/zsh/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index 3ccb604..113d1e3 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -23,6 +23,7 @@ if [[ -d $zsh_dir ]]; then source ${zsh_dir}/aliases/general.zsh source ${zsh_dir}/aliases/git.zsh source ${zsh_dir}/aliases/node-js.zsh + source ${zsh_dir}/aliases/rust.zsh source ${zsh_dir}/aliases/flutter.zsh source ${zsh_dir}/aliases/alias-tips.zsh