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

simplify and if then else



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