mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 16:51:15 -03:00
Fix broken completions for "mount -ouid="
Regressed in 2e55e34544 (Reformat, 2020-11-22).
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user