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.
20 lines
509 B
Plaintext
20 lines
509 B
Plaintext
function prompt_zefram_precmd {
|
|
local exitstatus=$?
|
|
setopt localoptions noxtrace noksharrays
|
|
psvar=(SIG)
|
|
[[ $exitstatus -gt 128 ]] && psvar[1]=SIG$signals[$exitstatus-127]
|
|
[[ $psvar[1] = SIG ]] && psvar[1]=$exitstatus
|
|
jobs % >/dev/null 2>&1 && psvar[2]=
|
|
}
|
|
|
|
function prompt_zefram_setup {
|
|
PS1='[%(2L.%L/.)'$ZSH_VERSION']%(?..%B{%v}%b)%n%(2v.%B@%b.@)%m:%B%~%b%(!.#.>) '
|
|
PS2='%(4_:... :)%3_> '
|
|
|
|
prompt_opts=( cr subst percent )
|
|
|
|
add-zsh-hook precmd prompt_zefram_precmd
|
|
}
|
|
|
|
prompt_zefram_setup "$@"
|