diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix index ff04d02..d15f4b6 100644 --- a/lib/shared/modules/zsh.nix +++ b/lib/shared/modules/zsh.nix @@ -20,6 +20,11 @@ else (cd "''${ROOT}" && eval "''${@}") fi + elif [[ "''$1" == "log" || "''$1" == "show" ]]; then + local command="$1" + shift 1 + + ${pkgs.git}/bin/git "$command" --ext-diff "$@" else ${pkgs.git}/bin/git "''${@}" fi