feat(gs/system): Add some rust aliases

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
This commit is contained in:
Griffin Smith 2020-12-01 11:59:36 -05:00 committed by glittershark
parent cdedcc6238
commit 43355f1f92
2 changed files with 8 additions and 2 deletions

View file

@ -168,10 +168,8 @@ with lib;
"grl" = "git reflog";
# Haskell
"cb" = "cabal build";
"crl" = "cabal repl";
"cr" = "cabal run";
"ct" = "cabal run test";
"cnb" = "cabal new-build";
"cob" = "cabal old-build";
"cnr" = "cabal new-run";

View file

@ -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";
};
}