We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b030b37 commit 524c005Copy full SHA for 524c005
xs.nu
@@ -21,7 +21,7 @@ def conditional-pipe [
21
}
22
23
export def xs-addr [] {
24
- $env | get XS_ADDR? | or-else { "./store" }
+ $env | get XS_ADDR? | or-else { try { open ~/.config/cross.stream/XS_ADDR } } | or-else { "./store" }
25
26
27
export def xs-context-collect [] {
@@ -225,4 +225,4 @@ export def .import [path: string] {
225
open ($path | path join "frames.jsonl") | lines | each {
226
from json | default "0000000000000000000000000" context_id | to json -r | xs import (xs-addr)
227
228
-}
+}
0 commit comments