mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-17 02:04:12 +00:00
merge synced agent history into netty defaults (#43)
This commit is contained in:
parent
4161e28aed
commit
ae3d3e0197
4 changed files with 518 additions and 26 deletions
|
|
@ -2,11 +2,9 @@
|
|||
set -euo pipefail
|
||||
|
||||
remote="${AGENT_HISTORY_REMOTE:-netty}"
|
||||
remote_root="${AGENT_HISTORY_REMOTE_ROOT:-/home/rathi/.local/share/agent-history/raw}"
|
||||
initial_query="${1:-}"
|
||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
remote_root_q="$(printf '%q' "$remote_root")"
|
||||
initial_query_q="$(printf '%q' "$initial_query")"
|
||||
|
||||
ssh -t "$remote" "AGENT_HISTORY_ROOT=${remote_root_q} INITIAL_QUERY=${initial_query_q} bash -s" < "${script_dir}/search-agent-history-remote.sh"
|
||||
ssh -t "$remote" "INITIAL_QUERY=${initial_query_q} bash -s" < "${script_dir}/search-agent-history-remote.sh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue