mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
Import from root chezmoi source
This commit is contained in:
commit
c8c8c9a000
77 files changed
+2443
No files matched your search
@@ -0,0 +1,29 @@
|
||||
[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"
|
||||
Reference in new issue
Block a user