global setup and configuration.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
function configure_pi_orca_runtime --argument-names profile
|
||||
set -g pi_orca_node_executable /usr/bin/node
|
||||
set -gx PI_CODING_AGENT_DIR /home/jb/.pi/agent
|
||||
|
||||
if test "$profile" = pi-work
|
||||
set pi_orca_node_executable /home/jb/.local/share/fnm/node-versions/v22.23.2/installation/bin/node
|
||||
set PI_CODING_AGENT_DIR /home/jb/.pi/profiles/cyone
|
||||
end
|
||||
|
||||
# Keep Pi and its subprocesses on the same Node installation. Orca inherits
|
||||
# fnm's PATH, which otherwise makes tool commands resolve a different Node.
|
||||
set -l node_bin (path dirname "$pi_orca_node_executable")
|
||||
set -gx PATH "$node_bin" $PATH
|
||||
end
|
||||
Reference in New Issue
Block a user