From 1e925857f0e32bf758c0720fb550f35fc62c0e01 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Fri, 19 Jan 2024 02:08:07 +0900 Subject: [PATCH] Update iwctl.fish colum -> column --- share/completions/iwctl.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/iwctl.fish b/share/completions/iwctl.fish index ed055d136..8bca13b1c 100644 --- a/share/completions/iwctl.fish +++ b/share/completions/iwctl.fish @@ -14,7 +14,7 @@ function __iwctl_filter -w iwctl set -l results (iwctl $argv | string replace -ra '\e\[[\d;]+m' '') # calculate column widths set -l headers $results[3] - # We exploit the fact that all colum labels will have >2 space to the left, and inside column labels there is always only one space. + # We exploit the fact that all column labels will have >2 space to the left, and inside column labels there is always only one space. set -l leading_ws (string match -r "^ *" -- $headers | string length) set -l column_widths (string match -a -r '(?<= )\S.*?(?: (?=\S)|$)' -- $headers | string length)