From 44453dbfc65f97aebc8e07c793d6c3a9b75c511b Mon Sep 17 00:00:00 2001 From: Dragyx <66752602+Dragyx@users.noreply.github.com> Date: Sun, 14 Apr 2024 18:56:41 +0200 Subject: [PATCH] Add alias to quickly go into system flake directory --- modules/cli/zsh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/cli/zsh.nix b/modules/cli/zsh.nix index e5083bc..acb9cdd 100644 --- a/modules/cli/zsh.nix +++ b/modules/cli/zsh.nix @@ -57,6 +57,7 @@ in { nv = "nvim"; #TODO fix hardcoding of git repo path and profile name update = "sudo -p 'password: ' echo 'Your daughter is just a fork of your wife.' && sudo nixos-rebuild switch --flake \"${gitPath}#${hostname}\" --log-format internal-json |& nom --json"; + flake = "cd '${gitPath}'"; } // cfg.extraAliases; initExtraFirst = mkIf cfg.profiling "zmodload zsh/zprof";