Skip to content

Commit 7aa91e1

Browse files
author
TechnoTecna
committed
Fixed nu-complete pass-files by converting the path string to glob
1 parent b712004 commit 7aa91e1

File tree

1 file changed

+1
-1
lines changed
  • custom-completions/pass/nu-complete

1 file changed

+1
-1
lines changed

custom-completions/pass/nu-complete/mod.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def pass_completions_directory [] {
88

99
export def "nu-complete pass-files" [] {
1010
let dir = (pass_completions_directory)
11-
ls ($dir | path join "**" | path join "*.gpg")
11+
ls ($dir | path join "**" | path join "*.gpg" | into glob)
1212
| get name
1313
| each {|it| ( $it
1414
| path relative-to $dir

0 commit comments

Comments
 (0)