diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-10-01 15:24:25 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-10-02 15:36:51 +0200 |
commit | 2d6d0582a13c8efff113837851b496e9b39e7b23 (patch) | |
tree | 392d03cd6795dc2fffd00cd3c9427fcd27702175 /README.adoc | |
parent | 5451eba2a317600111cd47104101bbec34fc9e54 (diff) | |
download | sdn-2d6d0582a13c8efff113837851b496e9b39e7b23.tar.gz sdn-2d6d0582a13c8efff113837851b496e9b39e7b23.tar.xz sdn-2d6d0582a13c8efff113837851b496e9b39e7b23.zip |
README.adoc: fix zsh integration snippet
Diffstat (limited to 'README.adoc')
-rw-r--r-- | README.adoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/README.adoc b/README.adoc index 5daf9ee..f49c8c0 100644 --- a/README.adoc +++ b/README.adoc @@ -59,7 +59,13 @@ sdn-navigate () { [ -z "$cd" ] || cd "$cd" [ -z "$insert" ] || LBUFFER="$LBUFFER$insert " [ -z "$helper" ] && break + + # Workaround for "zsh: suspended (tty output)" when invoking + # helpers after the terminal has been resized while running sdn + command true + eval "exec </dev/tty; $helper" || break + done zle reset-prompt # ... possibly zle-line-finish } |