File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ def _fzf_complete_nu [ query: string # The initial query
314314 }
315315
316316 if not ($processed_selection | is-empty ) {
317- [$processed_selection ] # Return as list
317+ [( $processed_selection | lines | str join ' ' )]
318318 } else {
319319 []
320320 }
@@ -396,7 +396,7 @@ def _fzf_complete_unalias_nu [query: string] {
396396# Kill completion post-processor (extracts PID)
397397def _fzf_complete_kill_post_get_pid [selected_line : string ] {
398398 # Assuming standard ps output where PID is the second column
399- $selected_line | from ssv -- noheaders | get 0.column1
399+ $selected_line | lines | each { $in | from ssv -- noheaders | get 0.column1 } | to text
400400}
401401
402402# Kill completion to get process PID
You can’t perform that action at this time.
0 commit comments