Skip to content

Commit

Permalink
Merge pull request #140 from rsteube/elvish-fix-space-in-values
Browse files Browse the repository at this point in the history
elvish: fix space in values
  • Loading branch information
rsteube authored Dec 12, 2020
2 parents 31a833e + b0b55a9 commit 3bab02b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ edit:completion:arg-completer[example] = [@arg]{
if (eq $arg[-1] "") {
arg[-1] = "''"
}
eval (echo (str:join ' ' $arg) | xargs example _carapace elvish $uid | slurp) &ns=(ns [&arg=$arg])
eval (echo (str:join "\001" $arg) | xargs --delimiter="\001" example _carapace elvish $uid | slurp) &ns=(ns [&arg=$arg])
}
fn subindex [subcommand]{
Expand Down
2 changes: 1 addition & 1 deletion internal/elvish/snippet.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ edit:completion:arg-completer[%v] = [@arg]{
if (eq $arg[-1] "") {
arg[-1] = "''"
}
eval (echo (str:join ' ' $arg) | xargs %v _carapace elvish $uid | slurp) &ns=(ns [&arg=$arg])
eval (echo (str:join "\001" $arg) | xargs --delimiter="\001" %v _carapace elvish $uid | slurp) &ns=(ns [&arg=$arg])
}
fn subindex [subcommand]{
Expand Down

0 comments on commit 3bab02b

Please sign in to comment.