plugin.zsh: *preexec_hook – store complete command making sesssion busy

This commit is contained in:
Sebastian Gniazdowski 2019-08-19 01:09:06 +02:00
parent 18103df319
commit 5e548862fc

View file

@ -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