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
544 B
Plaintext
22 lines
544 B
Plaintext
#compdef jexec
|
|
|
|
_jexec_normal() {
|
|
local PATH=$PATH
|
|
local -a _comp_priv_prefix
|
|
# relative paths are relative to the jail's root
|
|
path=( "$(_call_program paths jls -j $words[1] path)"/$^path )
|
|
shift 1 words; (( CURRENT-- ))
|
|
_normal
|
|
}
|
|
|
|
_jexec() {
|
|
_arguments -s -S -A "-*" : \
|
|
'-l[execute in a clean environment]' \
|
|
'(-U)-u[host environment user whom command runs as]:host user:_users' \
|
|
'(-u)-U[jail environment user whom command runs as]:jail user:_users' \
|
|
'1:jail:_jails' \
|
|
'*:: : _jexec_normal'
|
|
}
|
|
|
|
_jexec "$@"
|