Skip to content

Commit 7e2b9d8

Browse files
committed
fix: lint
1 parent 520a356 commit 7e2b9d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fish.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function __${nameForVar}_perform_completion
3838
__${nameForVar}_debug "last arg: $lastArg"
3939
4040
# Build the completion request command
41-
set -l requestComp "${exec} complete -- (string join ' ' -- (string escape -- \$args[2..-1])) \$lastArg"
41+
set -l requestComp "${exec} complete -- (string join ' ' -- (string escape -- $args[2..-1])) $lastArg"
4242
4343
__${nameForVar}_debug "Calling $requestComp"
4444
set -l results (eval $requestComp 2> /dev/null)
@@ -248,8 +248,8 @@ complete -c ${name} -n '__${nameForVar}_clear_perform_completion_once_result'
248248
# The call to __${nameForVar}_prepare_completions will setup __${nameForVar}_comp_results
249249
# which provides the program's completion choices.
250250
# If this doesn't require order preservation, we don't use the -k flag
251-
complete -c ${name} -n 'not __${nameForVar}_requires_order_preservation && __${nameForVar}_prepare_completions' -f -a '\$__${nameForVar}_comp_results'
251+
complete -c ${name} -n 'not __${nameForVar}_requires_order_preservation && __${nameForVar}_prepare_completions' -f -a '$__${nameForVar}_comp_results'
252252
# Otherwise we use the -k flag
253-
complete -k -c ${name} -n '__${nameForVar}_requires_order_preservation && __${nameForVar}_prepare_completions' -f -a '\$__${nameForVar}_comp_results'
253+
complete -k -c ${name} -n '__${nameForVar}_requires_order_preservation && __${nameForVar}_prepare_completions' -f -a '$__${nameForVar}_comp_results'
254254
`;
255255
}

0 commit comments

Comments
 (0)