1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-11-25 07:06:48 +01:00

fish: add codex-safe function and configure herdr

This commit is contained in:
Henrik Hautakoski 2026-11-14 11:56:35 +01:00
parent 0ce304c82a
commit e1c75cbe88
2 changed files with 8 additions and 0 deletions

2
fish/conf.d/herdr.fish Normal file
View file

@ -0,0 +1,2 @@
set -x HERDR_PROCESS_DETECTION child-groups

View 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