From 8a576e79e7194e7b765d12134c5f431f02274e45 Mon Sep 17 00:00:00 2001
From: dadada <dadada@dadada.li>
Date: Sat, 12 Jun 2021 01:00:42 +0200
Subject: [PATCH] git command aliases

---
 modules/home/zsh.nix | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix
index 1e6c3ee..e22ee57 100644
--- a/modules/home/zsh.nix
+++ b/modules/home/zsh.nix
@@ -13,6 +13,7 @@ in
       enable = true;
       enableAutosuggestions = true;
       enableCompletion = true;
+      enableVteIntegration = true;
       autocd = true;
       sessionVariables = {
         EDITOR = "vim";
@@ -42,10 +43,20 @@ in
       profileExtra = ''
       '';
       shellAliases = {
+        ga = "git add";
+        gc = "git commit";
+        gd = "git diff";
+        gf = "git fetch";
+        gl = "git log";
+        gpu = "git push";
+        gpul = "git pull";
+        grb = "git rebase";
+        gre = "git reflog";
+        gs = "git status";
+        gsh = "git show";
         gst = "git status";
-        gco = "git commit";
-        glo = "git log";
-        gad = "git add";
+        gsta = "git stash";
+        gstap = "git stash apply";
         ls = "exa";
         la = "exa -a";
         ll = "exa -la --no-filesize --changed --time-style=long-iso --git  --octal-permissions --no-permissions --no-user --ignore-glob=\".git\"";