]> Sergey Matveev's repositories - dotfiles.git/blob - vim/.vim/plugin/zshfe.zsh
0dfcd68e96761bff887a860988e5ad7b1338322a
[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"