1
0

Allows lumen-search-content to Get a Path piped in

This commit is contained in:
2025-06-10 11:30:43 +02:00
parent a9aa507b4c
commit 4703c6c492

View File

@@ -23,6 +23,12 @@ $env.VISUAL = 'hx'
export def lumen-search-content [searchstr = string]: any -> table {
let $tmp = $in
mut $path = pwd
if ($tmp != null) {
$path = $tmp
}
cd $path
ls -a **/* | par-each {|i|
{file: $i.name,
content: (if (($i | get type) == file ) {