Files
dotfiles/dot_local/bin/executable_c2p
T

5 lines
192 B
Bash
Raw Normal View History

#!/bin/sh
# Code2Prompt with fuzzy-search template.
tpl=$(fd --type f --extension hbs . "$HOME/.config/code2prompt" | fzf) || exit 0
[ -n "$tpl" ] || exit 0
exec code2prompt --template "$tpl"