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";