Files
dotfiles/television/cable/pj.toml
T
Prad Nukala 2049f580f0 revert(shell): move iris integration to the iris branch
Reverts 43dfe48, 0692ae3, e0cdcd6 and the cable-description half of
098da70 (the star-prompt stats stay). master returns to the pre-iris
shell setup: atuin in fish/zsh/bash, the down -> pj binding with
PJ_QUIET, and the fish/zsh key bindings as they were. The iris work
lives on the `iris` branch.
2026-10-05 10:41:51 -04:00

30 lines
922 B
TOML

[metadata]
name = "pj"
description = """
Project tasks from every task source between the cwd and the git toplevel
(package.json, Makefile, justfile, mise, devbox, pyproject), tasks of the most
recently modified manifest first. Enter runs the task. Discovery, preview and
run live in ~/.local/bin/pj; `pj` (ctrl-p, and down on an empty prompt in fish,
zsh and bash) opens this cable with its own scan.
"""
requirements = ["pj", "mtime-sort"]
# Record: display, kind, target, root, runner, manifest (tab separated).
[source]
command = "pj --list 2>/dev/null"
shell = "bash"
display = "{split:\\t:0}"
[preview]
command = "pj --preview '{split:\\t:1}' '{split:\\t:2}' '{split:\\t:3}' '{split:\\t:5}'"
shell = "bash"
[keybindings]
enter = "actions:run"
[actions.run]
description = "Run the selected task"
command = "pj --run '{split:\\t:1}' '{split:\\t:2}' '{split:\\t:3}' '{split:\\t:4}'"
shell = "bash"
mode = "execute"