Revisit zsh integration
zsh's antisocial behaviour was fairly promptly fixed (thanks to Stephane Chazelas and his patience). zle-line-init and zle-line-reset seem to be user-defined widgets and the order inverted. Put zle-line-init before reset-prompt because some people do weird things in there.
This commit is contained in:
3
sdn.cpp
3
sdn.cpp
@@ -1654,7 +1654,8 @@ fun save_config () {
|
||||
}
|
||||
|
||||
int main (int argc, char *argv[]) {
|
||||
// That bitch zle closes stdin before exec without redirection
|
||||
// zsh before 5.4 may close stdin before exec without redirection,
|
||||
// since then it redirects stdin to /dev/null
|
||||
(void) close (STDIN_FILENO);
|
||||
if (open ("/dev/tty", O_RDWR)) {
|
||||
cerr << "cannot open tty" << endl;
|
||||
|
||||
Reference in New Issue
Block a user