From 96ca78cf8d6d27c2ad5fc29c8f5cd17df2ec85e5 Mon Sep 17 00:00:00 2001 From: Oliver Davies <oliver@oliverdavies.uk> Date: Tue, 27 Sep 2022 07:41:43 +0100 Subject: [PATCH] feat: add Git shell aliases --- home-manager/modules/zsh.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home-manager/modules/zsh.nix b/home-manager/modules/zsh.nix index 5844392a..45ee9ec1 100644 --- a/home-manager/modules/zsh.nix +++ b/home-manager/modules/zsh.nix @@ -6,7 +6,11 @@ dotDir = ".config/zsh"; shellAliases = { + fetch = "git fetch --all --jobs=4 --progress --prune"; run = "./run"; + pull = "git pull --autostash --jobs=4 --summary origin"; + rebase = "git rebase --autostash --stat"; + update = "fetch && rebase"; }; autocd = true;