mirror of https://github.com/akelge/zsh
Fixed to history and debug prompt
This commit is contained in:
parent
f71f19f920
commit
8e04b7fa22
|
@ -12,9 +12,10 @@ LOGD=/var/log
|
|||
[ -z "$PS1" ] && return
|
||||
|
||||
## Vars only for interactive sessions
|
||||
SAVEHIST=500
|
||||
SAVEHIST=10000000
|
||||
HISTFILE=~/.history
|
||||
HISTSIZE=10000
|
||||
HISTFILESIZE=10000000
|
||||
HISTSIZE=10000000
|
||||
|
||||
PYTHONSTARTUP=~/.pythonrc.py
|
||||
LOGCHECK=30
|
||||
|
|
|
@ -486,6 +486,8 @@ prompt_mypure_async_callback() {
|
|||
local job=$1 code=$2 output=$3 exec_time=$4 next_pending=$6
|
||||
local do_render=0
|
||||
|
||||
[[ -n $5 ]] && print "\nERROR($1): $5\n"
|
||||
|
||||
case $job in
|
||||
\[async])
|
||||
# Code is 1 for corrupted worker output and 2 for dead worker.
|
||||
|
|
Loading…
Reference in New Issue