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.
39 lines
952 B
Plaintext
39 lines
952 B
Plaintext
#compdef ed
|
|
|
|
local -a args
|
|
|
|
args=(
|
|
'(-p --prompt)'{-p+,--prompt=}'[specify prompt]:prompt:'
|
|
'(-s --quiet --silent)'{-s,--quiet,--silent}'[suppress diagnostics]'
|
|
)
|
|
|
|
if _pick_variant gnu=GNU unix --version; then
|
|
args+=(
|
|
'(-G --traditional)'{-G,--traditional}'[run in compatibility mode]'
|
|
'(- :)'{-h,--help}'[display help]'
|
|
'(-l --loose-exit-status)'{-l,--loose-exit-status}'[exit 0 even if a command fails]'
|
|
'(-r --restricted)'{-r,--restricted}'[run in restricted mode]'
|
|
'(- :)'{-V,--version}'[display version]'
|
|
'(-v --verbose)'{-v,--verbose}'[be verbose]'
|
|
)
|
|
else
|
|
args=(-A '-*' ${args:#*\)--*})
|
|
case $OSTYPE in
|
|
dragonfly*|freebsd*|darwin*|netbsd*|solaris*)
|
|
args+=(
|
|
'-x[prompt for an encryption key]'
|
|
)
|
|
;|
|
|
netbsd*)
|
|
args+=(
|
|
'-E[enable extended regular expressions]'
|
|
'-S[disable ! command]'
|
|
)
|
|
;;
|
|
esac
|
|
fi
|
|
|
|
_arguments -s -S \
|
|
$args \
|
|
':file:_files'
|