Rely on the session PATH for agent launches
This commit is contained in:
@@ -14,12 +14,8 @@ fi
|
||||
agent=$(omarchy-default-agent)
|
||||
|
||||
if omarchy-cmd-missing "$agent"; then
|
||||
if [[ -x $HOME/.local/bin/$agent ]]; then
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
else
|
||||
echo "$agent is not installed. Choose an installed agent with: omarchy default agent <name>" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "$agent is not installed. Choose an installed agent with: omarchy default agent <name>" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if (($# > 0)); then
|
||||
|
||||
Reference in New Issue
Block a user