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.
16 lines
391 B
Plaintext
16 lines
391 B
Plaintext
# This function should be called from compctl to complete the
|
|
# second argument of cd and pushd.
|
|
|
|
emulate -R zsh # Requires zsh 3.0-pre4 or later
|
|
setopt localoptions extendedglob
|
|
local from
|
|
|
|
read -Ac from
|
|
from="${from[2]}"
|
|
|
|
eval "reply=( \${PWD:s@$from@$1*$2@}~$PWD(ND-/:) )"
|
|
reply=( "${${reply[@]#${PWD%%$from*}}%${PWD#*$from}}" )
|
|
[[ ${#reply[(r),-1]} != 0 ]] && reply[(r)]="''"
|
|
|
|
return
|