about summary refs log tree commit diff
path: root/users/glittershark/system/home/modules/development/rust.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-12-01T16·59-0500
committerglittershark <grfn@gws.fyi>2020-12-14T18·18+0000
commit43355f1f923ed63ac7f58e64e6815d14eb98ebb0 (patch)
tree4e7bea2ca337af229195ba3b3c7de36d1a2543ed /users/glittershark/system/home/modules/development/rust.nix
parentcdedcc6238652599534b65f98b9422029ed05368 (diff)
feat(gs/system): Add some rust aliases r/1997
These take precedence over cabal old-style aliases, since those aren't
used anymore

Change-Id: Iad1593bffb35d8f7b9c7df16c7c2da09a6ebb906
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2220
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark/system/home/modules/development/rust.nix')
-rw-r--r--users/glittershark/system/home/modules/development/rust.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/glittershark/system/home/modules/development/rust.nix b/users/glittershark/system/home/modules/development/rust.nix
index 17bda9c746dc..29eda82dc188 100644
--- a/users/glittershark/system/home/modules/development/rust.nix
+++ b/users/glittershark/system/home/modules/development/rust.nix
@@ -1,8 +1,16 @@
 { config, lib, pkgs, ... }:
 
+
 {
   home.packages = with pkgs; [
     rustup
     rust-analyzer
+    cargo-edit
   ];
+
+  programs.zsh.shellAliases = {
+    "cg" = "cargo";
+    "cb" = "cargo build";
+    "ct" = "cargo test";
+  };
 }