diff --git a/opencode/plugins/tracker-notify.ts b/opencode/tui-plugins/tracker-notify.ts similarity index 100% rename from opencode/plugins/tracker-notify.ts rename to opencode/tui-plugins/tracker-notify.ts diff --git a/zsh/functions/_op_common.zsh b/zsh/functions/_op_common.zsh index 67d0a0e..5c031c4 100644 --- a/zsh/functions/_op_common.zsh +++ b/zsh/functions/_op_common.zsh @@ -47,7 +47,6 @@ _op_run() { fi local -a to_link=( - plugin history sessions logs @@ -66,6 +65,13 @@ _op_run() { fi done + mkdir -p "$tmp_home/plugins" + local f + for f in "$base_home/plugins"/* "$base_home/tui-plugins"/*; do + [ -e "$f" ] || continue + ln -s "$f" "$tmp_home/plugins/" 2>/dev/null + done + if ! mkdir -p "$tmp_home/command"; then trap - EXIT INT TERM eval "$cleanup_cmd"