on Sun, 27 Oct 2002 01:48:27PM -0500, Stephen Gran insinuated: > This one time, at band camp, Nori Heikkinen said: > > only problem is ... previously, i'd had LC_ALL=POSIX, which made > > ls not intersperse dot-files and non dot-files (which i hate). > > just exporting LC_COLLATE=POSIX after I export LC_ALL in my > > ~/.zshenv doesn't seem to do it. > > > > there must be a way to individually set these different locales to > > different things, no? > > > > thanks again, > > > > </nori> > > You can alias 'ls = LC_COLLATE=POSIX ls' in your ~/.zshenv (I think > - using bash here, not sure how zsh deals with aliases).
zsh deals with aliases pretty much the same as bash. tried that before aliasing it -- i didn't know you could just specify a variable setting for a single command, that's cool! -- but it doesn't seem to work. `LC_ALL=POSIX ls` does, though ... weird. i don't know why the individual locale variables don't seem to work. but i will alias that, and then my problems will be solved. thanks! </nori> -- .~. nori @ sccs.swarthmore.edu /V\ http://www.sccs.swarthmore.edu/~nori/jnl/ // \\ @ maenad.net /( )\ www.maenad.net ^`~'^
msg09490/pgp00000.pgp
Description: PGP signature