Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is zsh buggy in connection with screen?
- X-seq: zsh-users 9667
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Is zsh buggy in connection with screen?
- Date: Tue, 8 Nov 2005 10:05:28 -0800
- In-reply-to: <20051108174411.GH24349@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20051108130233.GA6146@xxxxxxxx> <20051108141317.GQ27583@xxxxxxxxxxxxx> <20051108174411.GH24349@xxxxxxxxxxxxx>
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
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author