mirror of
https://github.com/zdharma-continuum/zconvey.git
synced 2026-09-10 07:06:21 -04:00
plugin.zsh: *preexec_hook – store complete command making sesssion busy
This commit is contained in:
parent
18103df319
commit
5e548862fc
|
|
@ -485,7 +485,7 @@ __zconvey_preexec_hook() {
|
|||
fi
|
||||
|
||||
# Mark that the shell is busy
|
||||
print -r -- "${1[(w)1]}" >! "$ZCONVEY_OTHER_DIR/${ZCONVEY_ID}.busy"
|
||||
print -r -- "$1" >! "$ZCONVEY_OTHER_DIR/${ZCONVEY_ID}.busy"
|
||||
}
|
||||
|
||||
# A hook marking the shell as not busy
|
||||
|
|
|
|||
Loading…
Reference in a new issue