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

.zshenv file syntax: spanning lines with comments



This is not a serious problem; just one I've been curious about.

Is there a way to have long variables span multiple lines, with
comments inserted?  Something like this:

current version:

export PATH=/home/$USER/bin/$OSTYPE:/home/$USER/bin:/usr/local/bin:/opt/gnu/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/vol/local/$OSTYPE/bin

what I would like to do:

export PATH=/home/$USER/bin/$OSTYPE:		# arch dependent binaries
	/home/$USER/bin:			# arch independent scripts
	/usr/local/bin:				# local apps
	/opt/gnu/bin:				# gnu tools
	...


Thanks,
Ben
--
Ben Drago                 drago@xxxxxxxxx              Sysadmin, TI



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