Override just
command
If a `.ignored/justfile` exists, e.g. for open-source projects I can't commit a `justfile` to, use it by default.
This commit is contained in:
parent
634ed23325
commit
5d3f7ef58f
|
@ -58,6 +58,14 @@
|
|||
t "''${repo_path}"
|
||||
}
|
||||
|
||||
just() {
|
||||
if [[ -f .ignored/justfile ]]; then
|
||||
${pkgs.just}/bin/just --justfile .ignored/justfile "''${@}"
|
||||
else
|
||||
${pkgs.just}/bin/just "''${@}"
|
||||
fi
|
||||
}
|
||||
|
||||
ttyper() {
|
||||
command ${pkgs.ttyper}/bin/ttyper --language english1000 --words 50 "''${@}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue