change aliases

This commit is contained in:
dusk 2021-08-21 19:07:11 +03:00
parent 1f5b27b30b
commit 4acb6d5fb4
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -79,9 +79,8 @@ in
g = pkgBin "git"; g = pkgBin "git";
git-optimize = "${pkgBin "git"} gc --aggressive --prune=now"; git-optimize = "${pkgBin "git"} gc --aggressive --prune=now";
grep = "${pkgs.ripgrep}/bin/rg";
cat = "${pkgBin "bat"} -pp --theme=base16"; cat = "${pkgBin "bat"} -pp --theme=base16";
c = "${pkgBin "bat"} -pp --theme=base16"; c = "cat";
du = "${pkgs.du-dust}/bin/dust"; du = "${pkgs.du-dust}/bin/dust";
df = "${coreBin "df"} -h"; df = "${coreBin "df"} -h";
@ -100,6 +99,7 @@ in
nfui = "${nixBin} flake lock --update-input"; nfui = "${nixBin} flake lock --update-input";
nfs = "${nixBin} flake show"; nfs = "${nixBin} flake show";
np = "${nixBin} profile"; np = "${nixBin} profile";
nb = "${nixBin} build";
npl = "${nixBin} profile info"; npl = "${nixBin} profile info";
npi = "${nixBin} profile install"; npi = "${nixBin} profile install";
npr = "${nixBin} profile remove"; npr = "${nixBin} profile remove";
@ -109,11 +109,12 @@ in
ndev = "${nixBin} develop"; ndev = "${nixBin} develop";
nrun = "${nixBin} run"; nrun = "${nixBin} run";
nrefs = "nix-store -qR";
noscd = "cd /etc/nixos"; noscd = "cd /etc/nixos";
nosr = ifSudo "sudo nixos-rebuild --fast"; nosrs = ifSudo "sudo nixos-rebuild --fast switch";
nosrs = ifSudo "sudo nixos-rebuild switch"; nosrb = ifSudo "sudo nixos-rebuild --fast boot";
nosrb = ifSudo "sudo nixos-rebuild boot"; nosrt = ifSudo "sudo nixos-rebuild --fast test";
nosrt = ifSudo "sudo nixos-rebuild test";
ngc = ifSudo "sudo nix-collect-garbage"; ngc = ifSudo "sudo nix-collect-garbage";
ngcdo = ifSudo "sudo nix-collect-garbage --delete-old"; ngcdo = ifSudo "sudo nix-collect-garbage --delete-old";