about summary refs log tree commit diff stats
path: root/home-manager/config/git/default.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-04-03 16:32:14 +0200
committerene <ene@sils.li>2023-04-03 16:32:14 +0200
commit6374b5ae5f7f2823839779e0a0d7800148e580a0 (patch)
treeeca13917f6dd2f793d56425c29f972b7a3476c55 /home-manager/config/git/default.nix
parentFix(hm/packages): Add 'pactl' through pulseaudio (diff)
downloadnixos-config-6374b5ae5f7f2823839779e0a0d7800148e580a0.tar.gz
nixos-config-6374b5ae5f7f2823839779e0a0d7800148e580a0.zip
Fix(hm/conf/git): Add 'ds' as alias for diff --staged
Diffstat (limited to '')
-rw-r--r--home-manager/config/git/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/home-manager/config/git/default.nix b/home-manager/config/git/default.nix
index 667bb206..9c3949c6 100644
--- a/home-manager/config/git/default.nix
+++ b/home-manager/config/git/default.nix
@@ -95,6 +95,7 @@ in {
     #package = pkgs.gitAndTools.gitFull; # TODO for git send-email support
     aliases = {
       st = "status";
+      ds = "diff --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]' ";