Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Is zsh buggy in connection with screen?



Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx> [051108 19:12]:
> On Tue, Nov 08, 2005 at 09:44:11AM -0800, Wayne Davison wrote:
> > My update script looks like this (yeah, it's ugly, but it works):
> 
> Actually, it had a bug in it early in the output (which changed
> recently).  This has prompted me to make it less horrific:
> 
> #!/bin/zsh
> for var in SSH_AUTH_SOCK SSH_AGENT_PID DISPLAY WINDOWID SSH_TTY SSH_CLIENT SSH_CONNECTION SESSION_MANAGER; do
>     if [[ -n "${(P)var}" ]]; then
> 	echo "export $var=${(P)var}"
>     else
> 	echo "unset $var"
>     fi
> done >~/.screenenv

Yeah, from time to time still vim gets killed. Any ideas? Are there other
variables, which must be saved?


Sebastian



Messages sorted by: Reverse Date, Date, Thread, Author