mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-07 20:47:37 +00:00
feat(config): auto-load GITHUB_TOKEN and add obscura skill source
This commit is contained in:
1 parent
ed0c539418
commit
a6ca8998e4
6 files changed
+44
-5
No files matched your search
@@ -0,0 +1,12 @@
|
||||
function _agents_bind --description 'ctrl-a: pick an AI agent (tv agents --inline) and start it, then redraw the prompt'
|
||||
# The cable's launch action writes `ran` to $AGENTS_STATE before exec'ing
|
||||
# the agent. Cancelled: tv left the cursor on the line below the prompt, so
|
||||
# step back up; ran: the prompt goes wherever the agent left the cursor.
|
||||
set -lx AGENTS_STATE (mktemp)
|
||||
tv agents --inline
|
||||
if test "$(cat $AGENTS_STATE)" != ran
|
||||
printf '\033[A' >/dev/tty
|
||||
end
|
||||
rm -f $AGENTS_STATE
|
||||
commandline -f repaint
|
||||
end
|
||||
Reference in new issue
Block a user