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
|
[ -z "$PS1" ] && return
|
||||||
|
|
||||||
## Vars only for interactive sessions
|
## Vars only for interactive sessions
|
||||||
SAVEHIST=500
|
SAVEHIST=10000000
|
||||||
HISTFILE=~/.history
|
HISTFILE=~/.history
|
||||||
HISTSIZE=10000
|
HISTFILESIZE=10000000
|
||||||
|
HISTSIZE=10000000
|
||||||
|
|
||||||
PYTHONSTARTUP=~/.pythonrc.py
|
PYTHONSTARTUP=~/.pythonrc.py
|
||||||
LOGCHECK=30
|
LOGCHECK=30
|
||||||
|
|
|
@ -486,6 +486,8 @@ prompt_mypure_async_callback() {
|
||||||
local job=$1 code=$2 output=$3 exec_time=$4 next_pending=$6
|
local job=$1 code=$2 output=$3 exec_time=$4 next_pending=$6
|
||||||
local do_render=0
|
local do_render=0
|
||||||
|
|
||||||
|
[[ -n $5 ]] && print "\nERROR($1): $5\n"
|
||||||
|
|
||||||
case $job in
|
case $job in
|
||||||
\[async])
|
\[async])
|
||||||
# Code is 1 for corrupted worker output and 2 for dead worker.
|
# Code is 1 for corrupted worker output and 2 for dead worker.
|
||||||
|
|
Loading…
Reference in New Issue