Skip to content

Commit 0653886

Browse files
authored
fix(completion): use posix whitespace in fish sed regex (#2592)
1 parent 8a37bf5 commit 0653886

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

completion/fish/task.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function __task_get_tasks --description "Prints all available tasks with their d
5454
end
5555

5656
# Grab names and descriptions (if any) of the tasks
57-
set -l output (echo $rawOutput | sed -e '1d; s/\* \(.*\):\s\{2,\}\(.*\)\s\{2,\}(\(aliases.*\))/\1\t\2\t\3/' -e 's/\* \(.*\):\s\{2,\}\(.*\)/\1\t\2/'| string split0)
57+
set -l output (echo $rawOutput | sed -e '1d; s/\* \(.*\):[[:space:]]\{2,\}\(.*\)[[:space:]]\{2,\}(\(aliases.*\))/\1\t\2\t\3/' -e 's/\* \(.*\):[[:space:]]\{2,\}\(.*\)/\1\t\2/'| string split0)
5858
if test $output
5959
echo $output
6060
end

0 commit comments

Comments
 (0)