ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
27 lines
658 B
Plaintext
27 lines
658 B
Plaintext
#compdef fusermount
|
|
|
|
local expl context state line
|
|
typeset -A opt_args
|
|
|
|
_arguments \
|
|
'-h[display help information]' \
|
|
'-V[display version information]' \
|
|
'-o[specify mount options]:mount option:_fuse_values "mount option"' \
|
|
'-u[unmount a fuse mount]' \
|
|
'-z[unmount lazily (work even when if the resource is still busy)]' \
|
|
'-q[suppress nonessential output]' \
|
|
':mount point:->mountpoint' && return 0
|
|
|
|
typeset -a mtpts
|
|
|
|
case "$state" in
|
|
(mountpoint)
|
|
if [[ $+opt_args[-u] -eq 0 ]]; then
|
|
_files -/
|
|
else
|
|
mtpts=(${${${"${(f)$(< /etc/mtab)}"}#* }%% *})
|
|
_canonical_paths mounted 'mounted filesystem' "${(@g::)mtpts}"
|
|
fi
|
|
;;
|
|
esac
|