Fix broken completions for "mount -ouid="

Regressed in 2e55e34544 (Reformat, 2020-11-22).
This commit is contained in:
Johannes Altmanninger 2024-11-21 08:55:45 +01:00
parent 33d92d2a1f
commit b46417c77b

View file

@ -134,8 +134,9 @@ function __fish_complete_mount_opts
data_err={ignore,abort} \
barrier={0,1} \
user_xattr \
acl \
set -l token (commandline -tc | string replace -r '^-o' -- '')
acl
set -l token (commandline -tc | string replace -r '^-o' -- '')
set -l args (string split , -- $token)
if test (count $args) -ne 0