diff --git a/lib/shared/modules/git.nix b/lib/shared/modules/git.nix index c2397ab..26b9fb8 100644 --- a/lib/shared/modules/git.nix +++ b/lib/shared/modules/git.nix @@ -73,7 +73,6 @@ sla = "log --oneline --decorate --graph --all -20"; slap = "log --oneline --decorate --graph --all"; slp = "log --oneline --decorate"; - staged = "diff --staged"; stash = "stash --included-untracked"; unassume = "update-index --no-assume-unchanged"; uncommit = "reset --soft HEAD^"; diff --git a/lib/shared/modules/zsh/abbreviations.zsh b/lib/shared/modules/zsh/abbreviations.zsh index 395cc3f..051f4b3 100644 --- a/lib/shared/modules/zsh/abbreviations.zsh +++ b/lib/shared/modules/zsh/abbreviations.zsh @@ -23,6 +23,7 @@ abbr gcl="git clone" abbr gcm="git commit -m" abbr gco="git checkout" abbr gd="git diff" +abbr gds="git diff --staged" abbr gf="git fetch" abbr gfa="git fetch --all" abbr gl="git log"