mirror of
https://github.com/pnx/dotfiles
synced 2026-11-25 23:26:48 +01:00
fish: add codex-safe function and configure herdr
This commit is contained in:
parent
0ce304c82a
commit
e1c75cbe88
2 changed files with 8 additions and 0 deletions
2
fish/conf.d/herdr.fish
Normal file
2
fish/conf.d/herdr.fish
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
set -x HERDR_PROCESS_DETECTION child-groups
|
||||
6
fish/functions/codex-safe.fish
Normal file
6
fish/functions/codex-safe.fish
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
function codex-safe -a profile --description 'safe codex'
|
||||
set -q profile[1]; or set profile "default-local"
|
||||
HERDR_AGENT=codex nono run --profile codex --extends $profile -- \
|
||||
codex --no-daemon --sandbox danger-full-access --ask-for-approval on-request $args
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue