mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
16 lines
379 B
TOML
16 lines
379 B
TOML
[metadata]
|
|
name = "path"
|
|
description = "Investigate PATH contents"
|
|
requirements = ["fd", "bat"]
|
|
|
|
[source]
|
|
command = "printf '%s\n' \"$PATH\" | tr ':' '\n'"
|
|
|
|
[preview]
|
|
command = "fd -tx -d1 . \"{}\" -X printf \"%s\n\" \"{/}\" | sort -f | bat -n --color=always"
|
|
|
|
[actions.cd]
|
|
description = "Open a shell in the selected PATH directory"
|
|
command = "cd {} && $SHELL"
|
|
mode = "execute"
|