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.
22 lines
919 B
Plaintext
22 lines
919 B
Plaintext
#compdef read
|
|
|
|
local pflag
|
|
|
|
# -p flag only relevant if we have a coprocess
|
|
(:>&p) 2>/dev/null &&
|
|
pflag='(-q -s -u -z)-p[input is read from the coprocess]'
|
|
|
|
_arguments -s -A "-*" -S \
|
|
'-r[raw mode]' \
|
|
'(-p -k -s -u -z)-q[read y or n character from terminal]' \
|
|
'(-q)-k+[specify number of characters to read]:: :_guard "[0-9]#" "number of characters"' \
|
|
'(-q -z)-t+[test if input is available before reading]:: :_guard "[0-9.]#" "timeout (seconds)"' \
|
|
'(-q)-d[specify delimiter to terminate input instead of newline]:delimiter' \
|
|
'(-q -s -u -p -t)-z[read entry from editor buffer stack]' \
|
|
'(-E)-e[input read is echoed and not assigned]' \
|
|
'(-e)-E[input read is echoed]' \
|
|
'(-q -z -p)-s[suppress terminal echoing]' \
|
|
'-A[first name is taken as an array]' \
|
|
'(-q -z -p)-u+[specify file descriptor to read from]:file descriptor:_file_descriptors' \
|
|
$pflag '1:varprompt:_vars -qS\?' '*:vars:_vars'
|