From 89737536ea6aa2f4260b77b0288f5de3c16af5b2 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 22 Feb 2025 11:14:55 +0100 Subject: [PATCH] jj: Revert js to simple jj status alias I have gotten more used to using `jw` to 'show' the current changes in the working copy, and having `js` be _both_ status and show has become more confusing than helpful. For now, we just revert it to be a simple alias for the status command. --- vcs/jj/config/sh/alias.d/jj.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/vcs/jj/config/sh/alias.d/jj.sh b/vcs/jj/config/sh/alias.d/jj.sh index df4f19f..9bf1ff5 100644 --- a/vcs/jj/config/sh/alias.d/jj.sh +++ b/vcs/jj/config/sh/alias.d/jj.sh @@ -14,13 +14,7 @@ alias jds="jj describe" alias jc="jj commit" # finding out the current snapshot -js() { - if [ "$#" -eq 0 ]; then - jj status - else - jj show "$*" - fi -} +alias js="jj status" alias jw="jj show" alias jd="jj diff"