feat: add codex-iterm skill
This commit is contained in:
15
skills/codex-iterm/scripts/run_codex_iterm.applescript
Normal file
15
skills/codex-iterm/scripts/run_codex_iterm.applescript
Normal file
@@ -0,0 +1,15 @@
|
||||
on run argv
|
||||
if (count of argv) is 0 then
|
||||
error "Expected shell command argument"
|
||||
end if
|
||||
set shellCommand to item 1 of argv
|
||||
tell application "iTerm"
|
||||
activate
|
||||
if (count of windows) = 0 then
|
||||
create window with default profile
|
||||
end if
|
||||
tell current session of current window
|
||||
write text shellCommand
|
||||
end tell
|
||||
end tell
|
||||
end run
|
||||
Reference in New Issue
Block a user