mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 04:58:57 +00:00
Clean udisksctl
This commit is contained in:
parent
c84137aec8
commit
f37dafdf52
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,9 @@ set __fish_mount_opts async\tUse\ asynchronous\ I/O atime\tUpdate\ time\ on\ eac
|
|||
|
||||
|
||||
function __fish_print_mounted_blockdevice
|
||||
grep "^/.*" /proc/mounts | cut -d " " -f 1
|
||||
if test -r /proc/mounts
|
||||
string match -r "^/[^ ]*" < /proc/mounts
|
||||
end
|
||||
end
|
||||
|
||||
complete -f -c udisksctl -n "__fish_seen_subcommand_from $cmds" -l help -d "Shows help"
|
||||
|
|
Loading…
Reference in a new issue