|| new=${ganneff_prompt_token_default[$it]}
# Now check if there is the wish for a precmd function and if so,
- # fulfill it.
- if is435; then
- zstyle -s ":prompt:ganneff:extra:$it" precmd prefunc
- if [[ -n "${prefunc}" ]]; then
- add-zsh-hook precmd ${prefunc}
- fi
+ # run it
+ zstyle -s ":prompt:ganneff:extra:$it" precmd prefunc
+ if [[ -n "${prefunc}" ]]; then
+ ${prefunc} || true
fi
typeset -g "${target}=${(P)target}${apre}"
zmodload zsh/mapfile
-jj__update_dinstall () {
- DINSTALL="${${(z)${(f)mapfile[/srv/ftp.debian.org/web/dinstall.status]}[3]}[3,99]}"
+jj_update_dinstall () {
+ DINSTALL="${${(z)${(f)mapfile[/srv/ftp.debian.org/web/dinstall.status]}[2]}[3,99]}"
}