mirror of
https://github.com/stablyai/orca.git
synced 2026-10-21 00:03:46 +00:00
Keep Orca CLI first after shell startup (#25130)
* Restore the owning Orca CLI path after shell profiles * Use a literal marker for the Bash lookup regression * Preserve plain panes and initialize zsh after prompt hook replacement * Preserve user line-editor dispatchers during deferred startup * fix: retain CLI startup when global Zsh replaces prompt hooks * test: replay global Zsh hook replacement after host startup * test: isolate controlled Zsh widgets from distro keyboard setup * fix(shell): preserve user hooks during deferred zsh initialization * Keep completed Zsh startup hooks retired when the wrapper is sourced again --------- Co-authored-by: Codex <codex@openai.com> Co-authored-by: Orca maintenance <orca-maintenance@users.noreply.github.com> Co-authored-by: Orca campaign <orca-campaign@local.invalid>
This commit is contained in:
co-authored by
Codex
Orca maintenance
Orca campaign
parent
c4e8735f45
commit
d9173ffbdb
@@ -0,0 +1,6 @@
|
||||
export const ORCA_CLI_POSIX_PATH_RESTORE = `if [ -n "\${ORCA_CLI_BIN_DIR:-}" ]; then
|
||||
case "\${PATH:-}" in
|
||||
"$ORCA_CLI_BIN_DIR"|"$ORCA_CLI_BIN_DIR":*) ;;
|
||||
*) export PATH="$ORCA_CLI_BIN_DIR\${PATH:+:$PATH}" ;;
|
||||
esac
|
||||
fi`
|
||||
Reference in New Issue
Block a user