Adds just command shell aliases
This commit is contained in:
parent
664f4ec5af
commit
4ca7da969e
16
home.nix
16
home.nix
@ -8,7 +8,12 @@
|
||||
home.stateVersion = "22.05";
|
||||
home.enableNixpkgsReleaseCheck = true;
|
||||
|
||||
home.shellAliases = {
|
||||
home.shellAliases =
|
||||
let
|
||||
projectsDir = "${config.home.homeDirectory}/Projects";
|
||||
mm = "${projectsDir}/nix-managed-macbook";
|
||||
nv = "${projectsDir}/nixed-DO-VPS";
|
||||
in {
|
||||
g = "${pkgs.git}/bin/git";
|
||||
j = "${pkgs.just}/bin/just";
|
||||
l = "${pkgs.bat}/bin/bat";
|
||||
@ -17,7 +22,14 @@
|
||||
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";
|
||||
|
||||
home-manager-switch = "just ${mm}/switch";
|
||||
home-manager-update = "just ${mm}/update";
|
||||
home-manager-clean = "just ${mm}/clean";
|
||||
vps-connect = "just ${nv}/connect";
|
||||
vps-upgrade = "just ${nv}/upgrade";
|
||||
deploy-website = "just ${nv}/run-service abhinavsarkar.net";
|
||||
};
|
||||
|
||||
home.sessionVariables = { EDITOR = "micro"; };
|
||||
|
Loading…
Reference in New Issue
Block a user