facf0c92e0
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
696 B
Plaintext
27 lines
696 B
Plaintext
#compdef uptime guptime
|
|
|
|
local variant
|
|
|
|
_pick_variant -r variant procps=procps gnu='Free Soft' unix --version
|
|
|
|
case $variant in
|
|
procps)
|
|
_arguments -s -S : \
|
|
'(: -)'{-h,--help}'[display help information]' \
|
|
'(: -)'{-V,--version}'[display version information]' \
|
|
+ '(excl)' \
|
|
{-p,--pretty}'[display uptime in pretty format]' \
|
|
{-s,--since}'[display date/time of system boot]'
|
|
return
|
|
;;
|
|
gnu)
|
|
_arguments -S : \
|
|
'(: -)--help[display help information]' \
|
|
'(: -)--version[display version information]' \
|
|
'1:utmp/wtmp file:_files'
|
|
return
|
|
;;
|
|
# *BSD, Darwin, Solaris, BusyBox
|
|
*) _message 'no more arguments'; return 1 ;;
|
|
esac
|