mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-14 07:52:45 +08:00
Fix broken completions for "mount -ouid="
Regressed in 2e55e34544
(Reformat, 2020-11-22).
This commit is contained in:
parent
33d92d2a1f
commit
b46417c77b
|
@ -134,8 +134,9 @@ function __fish_complete_mount_opts
|
||||||
data_err={ignore,abort} \
|
data_err={ignore,abort} \
|
||||||
barrier={0,1} \
|
barrier={0,1} \
|
||||||
user_xattr \
|
user_xattr \
|
||||||
acl \
|
acl
|
||||||
set -l token (commandline -tc | string replace -r '^-o' -- '')
|
|
||||||
|
set -l token (commandline -tc | string replace -r '^-o' -- '')
|
||||||
set -l args (string split , -- $token)
|
set -l args (string split , -- $token)
|
||||||
|
|
||||||
if test (count $args) -ne 0
|
if test (count $args) -ne 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user