diff --git a/fish/conf.d/herdr.fish b/fish/conf.d/herdr.fish new file mode 100644 index 0000000..a108634 --- /dev/null +++ b/fish/conf.d/herdr.fish @@ -0,0 +1,2 @@ + +set -x HERDR_PROCESS_DETECTION child-groups diff --git a/fish/functions/codex-safe.fish b/fish/functions/codex-safe.fish new file mode 100644 index 0000000..3c86ab8 --- /dev/null +++ b/fish/functions/codex-safe.fish @@ -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 +