Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
simplify and if then else
- X-seq: zsh-users 13283
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: simplify and if then else
- Date: Wed, 24 Sep 2008 11:20:59 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- Sender: news <news@xxxxxxxxxxxxx>
Hi
Having a Homer Simpson moment, but this must be easy to simplify
if [[ "$LOGNAME" != davidr ]]
then
cd /o/inetpub/wwwdev/www.some.co.uk/epsystem/epadmin
else
cd /c/inetpub/wwwdev/www.some.co.uk/epsystem/epadmin
fi
--
zzapper
http://www.successtheory.com/tips/vimtips.html
Messages sorted by:
Reverse Date,
Date,
Thread,
Author