jj: pass args to 's' alias
This commit is contained in:
parent
62246715bb
commit
6b1a4b5d04
1 changed files with 6 additions and 0 deletions
|
@ -124,11 +124,17 @@ in
|
||||||
"bash"
|
"bash"
|
||||||
"-c"
|
"-c"
|
||||||
''
|
''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
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'
|
||||||
jj log --limit=15 -T builtin_log_comfortable
|
jj log --limit=15 -T builtin_log_comfortable
|
||||||
''
|
''
|
||||||
|
""
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue