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.
This commit is contained in:
parent
5a9be5479d
commit
89737536ea
1 changed files with 1 additions and 7 deletions
|
|
@ -14,13 +14,7 @@ alias jds="jj describe"
|
||||||
alias jc="jj commit"
|
alias jc="jj commit"
|
||||||
|
|
||||||
# finding out the current snapshot
|
# finding out the current snapshot
|
||||||
js() {
|
alias js="jj status"
|
||||||
if [ "$#" -eq 0 ]; then
|
|
||||||
jj status
|
|
||||||
else
|
|
||||||
jj show "$*"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
alias jw="jj show"
|
alias jw="jj show"
|
||||||
alias jd="jj diff"
|
alias jd="jj diff"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue