Commit 5877c94 1 parent c772dd8 commit 5877c94 Copy full SHA for 5877c94
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,11 +152,11 @@ function __%[1]s_prepare_completions
152
152
# We don't need descriptions anyway since there is only a single
153
153
# real completion which the shell will expand immediately.
154
154
set -l split (string split --max 1 \t $__%[1]s_comp_results[1])
155
-
155
+
156
156
# Fish won't add a space if the completion ends with any
157
157
# of the following characters: @=/:.,
158
158
set -l lastChar (string sub -s -1 -- $split)
159
- if not string match -r -q "[@=/:.,]" -- "$lastChar"
159
+ if not string match -r -q "[@=/:.,]" -- "$lastChar"
160
160
# In other cases, to support the "nospace" directive we trick the shell
161
161
# by outputting an extra, longer completion.
162
162
__%[1]s_debug "Adding second completion to perform nospace directive"
You can’t perform that action at this time.
0 commit comments