From 3b411360250ce3d6bae9ccb97be3863fe41f901a Mon Sep 17 00:00:00 2001 From: Nicholas Novak Date: Sun, 18 Oct 2026 14:25:13 -0700 Subject: [PATCH] Change my gs command to account for jj --- shell/.shell-common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/shell/.shell-common b/shell/.shell-common index 31b5cd8..a737fec 100644 --- a/shell/.shell-common +++ b/shell/.shell-common @@ -1,5 +1,11 @@ # Git aliases -alias gs="git status" +gs() { + if jj root 2>/dev/null; then + jj show -s + else + git status + fi +} # Calculator alias k="kalker"