change aliases
This commit is contained in:
parent
1f5b27b30b
commit
4acb6d5fb4
@ -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";
|
||||||
|
|
||||||
@ -129,7 +130,7 @@ in
|
|||||||
nixos-option = "nixos-option -I nixpkgs=${self}/lib/compat";
|
nixos-option = "nixos-option -I nixpkgs=${self}/lib/compat";
|
||||||
|
|
||||||
# sudo
|
# sudo
|
||||||
s = ifSudo "sudo -E ";
|
s = ifSudo "sudo -E";
|
||||||
si = ifSudo "sudo -i";
|
si = ifSudo "sudo -i";
|
||||||
se = ifSudo "sudoedit";
|
se = ifSudo "sudoedit";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user