about summary refs log tree commit diff stats
path: root/home-manager
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-13 12:05:57 +0200
committerSoispha <soispha@vhack.eu>2023-05-13 12:05:57 +0200
commit3d5f2c2b3b08457f134425b6449c0987c85fc502 (patch)
tree21087b76e0f9623471ecfa2214d7a0ae4772b8e1 /home-manager
parentRefactor(hm/conf/git): Remove useless variable assignment (diff)
downloadnixos-config-3d5f2c2b3b08457f134425b6449c0987c85fc502.tar.gz
nixos-config-3d5f2c2b3b08457f134425b6449c0987c85fc502.zip
Feat(hm/conf/git): Add further aliases
Diffstat (limited to '')
-rw-r--r--home-manager/config/git/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/home-manager/config/git/default.nix b/home-manager/config/git/default.nix
index 5f5ce100..1ff4350e 100644
--- a/home-manager/config/git/default.nix
+++ b/home-manager/config/git/default.nix
@@ -8,6 +8,8 @@ in {
     aliases = {
       st = "status";
       ds = "diff --staged";
+      di = "diff";
+      rs = "restore --staged";
 
       ## Logging:
       ls = "log --max-count=10 --color --format=format:'%C(bold red)%h%C(reset) %C(dim bold blue)%s%C(reset) %C(dim white)[%aN]' ";