jj: fancier status
This commit is contained in:
parent
dcc102f9bf
commit
cc9fc76545
2 changed files with 27 additions and 26 deletions
|
@ -126,13 +126,14 @@ in
|
||||||
''
|
''
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
if [ -n "$1" ]; then
|
|
||||||
exec jj show --stat --tool=difft "$@"
|
|
||||||
fi
|
|
||||||
printf '\e[38;5;240m\u2504%.0s\e[0m' $(seq 1 $(tput cols)) '\n'
|
printf '\e[38;5;240m\u2504%.0s\e[0m' $(seq 1 $(tput cols)) '\n'
|
||||||
jj show --stat
|
jj show --stat
|
||||||
printf '\e[38;5;240m\u2504%.0s\e[0m' $(seq 1 $(tput cols)) '\n'
|
printf '\e[38;5;240m\u2504%.0s\e[0m' $(seq 1 $(tput cols)) '\n'
|
||||||
|
if [ -n "$1" ]; then
|
||||||
|
jj diff --tool=difft -r "$@"
|
||||||
|
else
|
||||||
jj log --limit=15 -T builtin_log_comfortable
|
jj log --limit=15 -T builtin_log_comfortable
|
||||||
|
fi
|
||||||
''
|
''
|
||||||
""
|
""
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue