From: Sergey Matveev Date: Wed, 10 Feb 2021 22:39:32 +0000 (+0300) Subject: Safer printing X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=767e6a9200a88601a2905af6094b1ec5ca323862 Safer printing --- diff --git a/vim/.vim/plugin/zshfe.zsh b/vim/.vim/plugin/zshfe.zsh index b0d8cd9..1afcb2a 100755 --- a/vim/.vim/plugin/zshfe.zsh +++ b/vim/.vim/plugin/zshfe.zsh @@ -5,4 +5,4 @@ zmodload zsh/zpty zpty zshfe zsh zpty -w zshfe "print ZSHFE $*"$'\t EFHSZ\nexit\n' zpty -r zshfe zshfe "*exit" -echo $zshfe | sed -n "s/^ZSHFE \(.*\) EFHSZ/\1/p" +print -- $zshfe | sed -n "s/^ZSHFE \(.*\) EFHSZ/\1/p"