Date: Sun, 20 May 2012 20:59:50 +1000 From: andrew clarke <mail@ozzmosis.com> To: Polytropon <freebsd@edvax.de> Cc: freebsd-questions@freebsd.org, fake fake <four.troublesome.heads@gmail.com> Subject: Re: ls-F tcsh built-in command Message-ID: <20120520105950.GA64196@ozzmosis.com> In-Reply-To: <20120517151713.2503552d.freebsd@edvax.de> References: <CA%2BrxiGCyQhMuVex3M1QdqEeQp_pMyf%2BcbEskahdNoO4C%2BmqoEw@mail.gmail.com> <4FB4DEC1.8020704@bananmonarki.se> <CA%2BrxiGBETBvdjhGUF73OSYO6xEbbgjRsxPcbs9sntB49wRyo9w@mail.gmail.com> <20120517145437.03dd4cdf.freebsd@edvax.de> <CA%2BrxiGAGayqgoUaf%2BDsDZhMLbz2juH_AO_NT-6vAtvk3Rp2VaA@mail.gmail.com> <20120517151713.2503552d.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu 2012-05-17 15:17:13 UTC+0200, Polytropon (freebsd@edvax.de) wrote: > Search for "LS_COLORS" in the environment variables section > of "man csh". However, I've always been satisfied with using > $LSCOLORS as "ExGxdxdxCxDxDxBxBxegeg". :-) Before I discovered $LSCOLORS I used gls from /usr/ports/sysutils/coreutils and had an alias in .tcshrc: alias ls "gls --time-style=long-iso --color=auto" I still use this in Linux. In FreeBSD I use /bin/ls: setenv LSCOLORS "ExGxFxdxCxDxDxhbadExEx" alias ls 'ls -D "%Y-%m-%d %H:%M:%S"' The -D stuff is to display ISO 8601 style timestamps like GNU ls's --time-style=long-iso format, eg: -r-xr-xr-x 1 root wheel 12612347 2011-09-28 19:13:57 /boot/GENERIC/kernel I don't know if this helps the OP. :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120520105950.GA64196>