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:
parent
cdedcc6238
commit
43355f1f92
2 changed files with 8 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue