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.
10 lines
267 B
Plaintext
10 lines
267 B
Plaintext
# Bind to a binary operator keystroke for use with zcalc
|
|
# Not useful in RPN mode.
|
|
|
|
if [[ -n $ZCALC_ACTIVE && $ZCALC_ACTIVE != rpn ]]; then
|
|
if [[ $CURSOR -eq 0 || $LBUFFER[-1] = "(" ]]; then
|
|
LBUFFER+=${ZCALC_AUTO_INSERT_PREFIX:-"ans "}
|
|
fi
|
|
fi
|
|
zle .self-insert
|