From 0a6efdc4adfe6365634f3883f6e2f6937a8cbf50 Mon Sep 17 00:00:00 2001 From: Lia Lenckowski Date: Sat, 29 Oct 2022 19:07:41 +0200 Subject: [PATCH] fix lsblk column completion --- CHANGELOG.rst | 2 ++ share/completions/lsblk.fish | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 13e557c5a..bb394e0dc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -115,6 +115,8 @@ Completions - ``dua`` - ``clojure`` +- Improvements to some completions. + Improved terminal support ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/share/completions/lsblk.fish b/share/completions/lsblk.fish index 35ca6c04a..5be0a9d88 100644 --- a/share/completions/lsblk.fish +++ b/share/completions/lsblk.fish @@ -1,6 +1,5 @@ function __fish_print_lsblk_columns --description 'Print available lsblk columns' - lsblk --help | sed '1,/Available columns:/d; /^$/,$d; s/^\s\+//; s/\s/\t/' - + LC_ALL=C lsblk --help | sed '1,/Available .*columns:/d; /^$/,$d; s/^\s\+//; s/\s/\t/' end complete -c lsblk -s a -l all -d "print all devices"