1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 03:27:45 +00:00

nu: hop off filter

This commit is contained in:
RGBCube 2025-06-30 17:34:03 +03:00
parent de477aa89c
commit e5b325a76f
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 4 additions and 4 deletions

View file

@ -72,7 +72,7 @@ module dump {
let dump_prefix = dump-path | path join ...($namespace | split row ".")
let dump_parent_contents = glob ($dump_prefix | path parse | get parent | path join "**" "*.md")
let dump_matches = $dump_parent_contents | filter { str starts-with $dump_prefix }
let dump_matches = $dump_parent_contents | where { str starts-with $dump_prefix }
ls ...$dump_matches | each {
merge { path: $in.name }