Adds just command shell aliases

Abhinav Sarkar 2022-10-16 14:05:10 +05:30
parent 664f4ec5af
commit dd7bfc1677
1 changed files with 10 additions and 2 deletions

View File

@ -8,7 +8,9 @@
home.stateVersion = "22.05";
home.enableNixpkgsReleaseCheck = true;
home.shellAliases = {
home.shellAliases =
let projectsDir = "${config.home.homeDirectory}/Projects";
in {
g = "${pkgs.git}/bin/git";
j = "${pkgs.just}/bin/just";
l = "${pkgs.bat}/bin/bat";
@ -17,7 +19,13 @@
br = "${pkgs.broot}/bin/broot";
du = "${pkgs.dua}/bin/dua interactive";
tf = "${pkgs.coreutils-full}/bin/tail -f";
cat = "bat";
cat = "${pkgs.bat}/bin/bat";
hms = "${pkgs.just}/bin/just ${projectsDir}/managed-macbook/switch";
hmu = "${pkgs.just}/bin/just ${projectsDir}/managed-macbook/update";
nsc = "${pkgs.just}/bin/just ${projectsDir}/nix-space/connect";
nsu = "${pkgs.just}/bin/just ${projectsDir}/nix-space/upgrade";
dan = "${pkgs.just}/bin/just ${projectsDir}/nix-space/run-service abhinavsarkar.net";
};
home.sessionVariables = { EDITOR = "micro"; };