diff --git a/home/apps/fish.nix b/home/apps/fish.nix index 511a65a..54a3b10 100644 --- a/home/apps/fish.nix +++ b/home/apps/fish.nix @@ -89,6 +89,14 @@ in { fish = { enable = true; shellAbbrs = { + # Nix + nb = "nix build"; + nr = "nix run"; + nd = "nix develop"; + nrpkgs = "nix run nixpkgs#"; + nf = "nix flake"; + nfl = "nix flake lock"; + # Git ga = "git add"; gb = "git branch"; @@ -97,6 +105,7 @@ in { gcan = "git commit --amend --no-edit"; gcm = "git checkout main"; gco = "git checkout"; + gcot = "git checkout --track"; gcb = "git checkout -b"; gd = "git diff"; gl = "git pull"; @@ -108,6 +117,14 @@ in { gs = "git switch"; gst = "git status"; + # Rust + cb = "cargo build"; + cbr = "cargo build --release"; + ct = "cargo test"; + ctlog = "cargo test -- --nocapture"; + cpub = "cargo publish"; + cpubdry = "cargo publish --dry-run"; + # Kubectl # TODO: Migrate these to fish functions