]> Sergey Matveev's repositories - dotfiles.git/blob - vim/.vim/plugin/zshfe.zsh
I learn zsh
[dotfiles.git] / vim / .vim / plugin / zshfe.zsh
1 #!/usr/bin/env zsh
2
3 set -e
4 zmodload zsh/zpty
5 zpty zshfe zsh
6 zpty -w zshfe "print ZSHFE $*"$'\t EFHSZ\nexit\n'
7 zpty -r zshfe zshfe "*exit"
8 echo $zshfe | sed -n "s/^ZSHFE \(.*\) EFHSZ/\1/p"